Hi there,
I have been working on this form for a while now. (http://www.sigmastudies.co.uk/downloads/booking_form.pdf)
So that you can see:
This then eventually brings up a couple of read-only fields.
Click the "SAVE" button at the bottom of the page and the form eventually SAVES (after you choose where) and Locks fields.
NOTICE how the newly visible "Course Decription" and "Total" read-only fields that you got from clicking "Other" are obiously still showing.
NOW HERES THE PROBLEM
If you then close the form and reopen the locked form where you saved it, the 'Course Description" and "Total" fields are gone.
Can someone pleeeeease shed some light on this. Is it some glitch in the LockAllfields variable.
I appriciate all your help
Will
Views
Replies
Total Likes
Hi Will,
Try going to the File > Form Properties > Defaults tab and make sure that "preserve script changes" is set to Automatic:
Hope that helps,
Niall
Views
Replies
Total Likes
Hi Niall,
Tried what you said and the settings are indeed set to Automatic preserve script changes.
Any other ideas.
Appreciate the help
Thanks
Will
Views
Replies
Total Likes
Hi Will
The visible state of elements in dynamic forms is not guaranteed to be saved, you should set this up as part of the form initialisation.
Each element that has dynamic visibility must have some data element that is saved for it, in your case, the Radio Button.
Use the Initialise or Form Ready event, to make sure the data is loaded, and if is it "Other", then display the Course subform.
P.S. Some people prefer to add/remove instances of subforms, rather than use show/hide.
Hope this helps.
Views
Replies
Total Likes
Brilliant!!!
Thanks for your help.
Found a workarond last night by wrapping the two fields into a subform.
Although i think your solution is more reliable and will add this is future updates of the form.
Thanks for shedding some light on things
Will
Sent from my iPhone
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies