?
Solved

How to save the sfform widget textbox field with special format?

Posted on 2009-02-14
4
Medium Priority
?
543 Views
Last Modified: 2013-11-10
Hi
I am using sfguardplugin for authentication. And my user profile is stored in Account table.

I am using symfony 1.2 sfform. I need to save the username in sf_guard_user table with a special format: <user account ID><1st digit selected by user><2nd digit selected by user>.

For eg, i logon as AAA, then i will need to be able to create new user with AAA01, for eg.

In the Account form, the username is rendered as a text box widget automatically, which we can enter any text for the username.

How can i save the username as <user account ID><1st digit selected by user><2nd digit selected by user>? The <user account ID> is defaulted by the system, non-editable.

0
Comment
Question by:littletortoise
1 Comment
 

Accepted Solution

by:
littletortoise earned 0 total points
ID: 23655093
Hi Vee Mod
I found the solution for this problem. May i know how can i close this question? Everytime i always tried to delete the qn which i don;t think is the right way.

Thanks.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses
Course of the Month16 days, 18 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question