Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

automatically populating fields

csbendz
Level 2
Level 2
I am creating a form that will be used as a survey. In one section, I am asking responders to answer questions with 4 locations. I would like to take those answers and insert them into future questions about those specific locations. How can I design a form or field that can do this?
4 Replies
pguerett
Level 10
Level 10
You will have to write script to do this. After th euser fills out the first field (on th eexit event) you can script the name that they entered into subsequent objects. Each part of the object is exposed to you and it is simply a matter of calling the correct object property. Start by designing the form assuming they enter a specific value in the field. Then we can help you by seeing specifically which objects you want to use and what poperties would be required.



Make sense?
cmelton1979
Level 2
Level 2
I'm trying to do (essentially) the same thing.



I have a multipage form where, on the first page, the employee enters his name. I need the name to populate the name fields on the following pages.



I know that when you exit the first empName field, it causes the other fields to populate, I just can't recall the script for it.



Any help?
pguerett
Level 10
Level 10
If you set up each field to be the same fieldname you can set the binding to Global and a change in any of those fields will cause all fields to be refreshed with the same value.
cmelton1979
Level 2
Level 2
Eureka! Thanks, Paul, you're always a great help.



Much better than the ridiculous way I was trying to do it! Leave it to me to overcomplicate it.



Thanks again.