Page 1 of 1

Persistent fields

Posted: October 11th, 2020, 8:09 am
by AriSilva
Is there a way to define the "persistent" attribute to a field other than the identification?
For example, we have to do a survey capturing the household addresses, street name, street number, apartment number, etc., and most of all we have to repeat the street name. We are doing that with a previous question asking if the street name is the same, and skipping it, but maybe the persistent attribute would be a better solution.
Or does it have any other way to do that, without having to enter the same street name several times?
By the way, I´m still using 7.4.

Re: Persistent fields

Posted: October 12th, 2020, 7:39 am
by htuser
Right now, CSPro already have a way to do that.
For example, if you have street limits, you can use this example: viewtopic.php?f=1&t=3374&p=10527&hilit= ... gon#p10527 in a user defined function. If an enumerator is in a specific street, so that the street name
can be automatically set.
Hope this help you.

Re: Persistent fields

Posted: October 12th, 2020, 1:54 pm
by josh
As you noticed only id fields can be persistent. I usually use savesetting/loadsetting to save/load the value of a field from a previous questionnaire.

Re: Persistent fields

Posted: October 13th, 2020, 6:42 am
by AriSilva
Well, that´s what I am doing right now, using save/loadsetting to keep and use the last used field.