Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Hidden drop-down list

Avatar

Former Community Member

Hi,

I have a form with multiple drop-down, text fields, etc. Depending on how the user responds to drop downs, but what I would like to do is for users to be able to part complete the form, save it and when it reopens to prompt them with the part completed form and a new question automatically opens, but this question would only open after the form had been saved for the first time.

A bit confusing I know :-)

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

I made a sample for you.

It has 3 scripts to create and check a counter for how many time the form has been saved.

If it was only saved once, it shows a message box.

https://acrobat.com/#d=xEOrpXZ5VRywi2W8eRVsgA

The first script is in a script object "Actions". It creates the counter.

The second script is in the formReady:Event. It checks if the current count or creates a counter in none exists.

The third script is in the preSave:Event of the root node "Formular1/form1".

It increases the counter every time the form is saved.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

I made a sample for you.

It has 3 scripts to create and check a counter for how many time the form has been saved.

If it was only saved once, it shows a message box.

https://acrobat.com/#d=xEOrpXZ5VRywi2W8eRVsgA

The first script is in a script object "Actions". It creates the counter.

The second script is in the formReady:Event. It checks if the current count or creates a counter in none exists.

The third script is in the preSave:Event of the root node "Formular1/form1".

It increases the counter every time the form is saved.