I created a dynamic page for activities, so I could create activity categories. I added a dynamic form to the page with two select drop downs. I would like to select the current item in (at least one of the) two select boxes upon load, so I can hide them, but the value is added on submit.
The signups are submitted to in another dataset, but I want them to be connected to the right activity obviously. The first select button writes to the signups database, to a reference field that contains all the activities. That is why you see all of them in the drop down.
The second select button pulls from the activities dataset (with a limit of 1, that is why it pulls the current activity, since it is on that specific activity’s page) and posts to a text field.
The reference gets lost of course by posting to a text field, so I would prefer the first select button to automatically select the current item, without the user having to go through the list and select it manually (while he/she already is on the page of the activity they want to sign up for).
You can check this out at:
https://revolutionarydesign.wixsite.com/hildegeudens/activities/Tour-Alaska
Thanks a lot.