webform field question

wenaffiliate

Новичок
Joined
Mar 17, 2011
Messages
3
Reaction score
0
Points
0
1.lots of form have a state <select> part,my problem is how can i set the dropdown menu from my file?i mean it can match the 'adress' part.

2.some form need to fild Phone#,the problem is thier phone# is 3 part like 111-111-1234.
so how can i set the field from my txt file?my txt file format is 1111111234
 

Hungry Bulldozer

Moderator
Joined
Jan 12, 2011
Messages
3,441
Reaction score
831
Points
113
1) Set up the number of selected item from the file.
2)Take line from the file and use macros SubString : {-String.SubString-|-1111111234-|-0-|-3-}
 

wenaffiliate

Новичок
Joined
Mar 17, 2011
Messages
3
Reaction score
0
Points
0
i mean the select iteam is states
my file is like ny,md,ca,ms....
so how can i get it match and select
 

wenaffiliate

Новичок
Joined
Mar 17, 2011
Messages
3
Reaction score
0
Points
0
1) Set up the number of selected item from the file.
2)Take line from the file and use macros SubString : {-String.SubString-|-1111111234-|-0-|-3-}
and the #2.
will it be field like 111111-11234?
it need 111-111-1234
 

step85

Client
Joined
Feb 19, 2010
Messages
1,839
Reaction score
287
Points
83
and the #2.
will it be field like 111111-11234?
it need 111-111-1234
First, replace all - the emptiness, and then take a substring and replace it with -
 
Last edited:

Users Who Are Viewing This Thread (Total: 1, Members: 0, Guests: 1)