We will be having folks at 32 different check stations covering several different permit areas during our upcoming deer hunting season. So, Joe stationed at Harry's Hardware will almost always be registering deer harvested in permit area 339, while Mary stationed at Karla's Kitty Boutique will almost always be registering deer harvested in permit area 342.I know I can set the default in the form, but I would have to create and manage 32 different forms to accomplish this. I am hoping there is a way for Survey123 to "remember" the last entry. Thanks for any help.
Hi. I am including an attachment that may be helpful for your use case. In the ZIP file you will find two files:
As you will see, when you select a station, you will get a default permit area number in the second question. You can always overwrite the permit area.
I used the new pulldata function for the example above. I used the CSV file as a lookup table, to associate a permit area with the selected station. The pulldata function is used in the calculation column.
What I REALLY wanted to do is to set the permit area question as a select_one, so people could change the permit area if desired, but only picking a valid permit area. Unfortunately, calculations cannot change the value of a select_one (at least in the current 1.7 release), so I had to change the question type to integer (I could have also used a text type of question). Using a text or integer question can add room for user error, as they may overwrite your default value with an invalid permit area.
Another approach you could take is to use favorites. Using favorites would work as follows: