Copy link to clipboard
Copied
I'm creating an ad with four input text fields labels fname, lname, city and prov, and I wanted to know how to generate URLs based on information entered into the fields. The text fields default to display "First Name," "Last Name," "City" and "State," respectively, but if a user does not enter information in those fields, I want the URL to behave as if those were empty, if that makes sense. The text fields are in a movie clip called "input_text" and the button is labeled "send". If any of you can provide insight, I would be greatly appreciative. Thank you.
1. use if-statements to see if the text properties of your textfields meets your requirements for creating that url.
2. you can use the flash string methods and properties to create your url.
p.s. the plus sign + can be used to concatenate strings.
Copy link to clipboard
Copied
1. use if-statements to see if the text properties of your textfields meets your requirements for creating that url.
2. you can use the flash string methods and properties to create your url.
p.s. the plus sign + can be used to concatenate strings.
Copy link to clipboard
Copied
Thank you for your helpful response!
Copy link to clipboard
Copied
you're welcome.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now