Greetings of the day!
This is regarding the Pre-populating text is not working while switching the radio buttons while texting the form in Hybrid platform after deploying.
Requirement 1) Our form requests User to fill 2 fields.
First Field is a Radio button with Choices as Yes,No and N/A (say the field name is YES_NO_NA )
Second Field is a Free text box which User can edit and type whatever is required (say the field name is SIGNIFCANT_DETAILS )
Requirement 2) If User selects “ Yes ” from the first field, then we require the second field to be pre-populated with a defined response as “ The premises is only occupied by residents ”
Requirement 3) If User selects “ N/A ” from the first field, then we require the second field to be pre-populated with a defined response as “ N/A ”
Requirement 4) If User selects “ No ” from the first field, then we require the second field NOT to be pre-populated so the User can update his own comments (second field being a free text)
Requirement 5) when user is selecting the radio button “Yes” the Pre-populated text is displaying and when he changed his choice to “N/A” and selected the radio button “N/A” the Pre-populated text is displaying correctly but at the third time when he is changing his choice from “N/A” to “Yes” the Pre-populated text is not displaying.
We have defined 2 fields as required (i.e. YES_NO_NA and SIGNIFCANT_DETAILS ).
We downloaded the Forms .xls format
In the .xls format, For the second field we have used the calculate column and updated the below a formula
The above approach has solved our Requirements 1,2, 3 and 4 but NOT Requirement 5
Please suggest the right approach to meet this requirement. Please note we have tried in kobotoolbox.org it is working fine but whereas in Hybrid.
Please find the below attached file.
SAMPLEFORM.xlsx (12.7 KB)