solved: phone number field

raunhar

Member
On the form, I want to have phone number field, which will have two text boxes for:
Area code &
Phone number

e.g :
Phone ____ - ___________________
91-11111111111111

How can I get to show this.
 
You can't spearate a single element into two "text boxes", but you can specify an "input mask" to force a specific formatting of input.

See "Input Mask" setting, under the Formatting tab for field elements. The tooltip tells you how to set up an input mask. So yours would be 99-9999999999 (or whatever).

If you really need two separate fields, which store as two separate fields in the database (like area_code and phone), you'll just ned to create them as two separate elements, then either use some custom CSS to position them the way you need them, next to each other, or put them in heir own group and use the "elements per row" setting on the group.

-- hugh
 
I've been wondering about a solution like that. Thanks.:D

Awesome avatar. Good to see you! (pun intended)
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top