Highlighted

automatically populating fields

Avatar

Avatar

csbendz

Avatar

csbendz

csbendz

14-01-2009

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?

Replies

Highlighted

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

14-01-2009

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?
Highlighted

Avatar

Avatar

cmelton1979

Avatar

cmelton1979

cmelton1979

19-01-2009

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?
Highlighted

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

19-01-2009

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.
Highlighted

Avatar

Avatar

cmelton1979

Avatar

cmelton1979

cmelton1979

19-01-2009

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.