I am trying to use a Switch function to update data in other fields.
Example -
read_data1 makes an array from the aid/aid fields in a database, this is then presented to a dropdown menu.
read_data2 makes an array from the aid/result fields in the same database.
read_data3 makes an array from the aid/result2 rields in the same database.
I want to select the aid number from the dropdown menu and two text fields produce the corresponding "result" and "result1" data.
I have set up a switch function that is working using the list
1:One
2:Two
3:Three
4:Four
5:Five
I've tried puting {var:read_data12} in the switch "Values Setup" list and selected "Handle data arrays" hoping it would work, but the result is just blank...
Am I entering the array incorrectly? Should I be reading this data differently?
If so could you please instruct me how to do this properly, thank you.
Example -
read_data1 makes an array from the aid/aid fields in a database, this is then presented to a dropdown menu.
read_data2 makes an array from the aid/result fields in the same database.
read_data3 makes an array from the aid/result2 rields in the same database.
I want to select the aid number from the dropdown menu and two text fields produce the corresponding "result" and "result1" data.
I have set up a switch function that is working using the list
1:One
2:Two
3:Three
4:Four
5:Five
I've tried puting {var:read_data12} in the switch "Values Setup" list and selected "Handle data arrays" hoping it would work, but the result is just blank...
Am I entering the array incorrectly? Should I be reading this data differently?
If so could you please instruct me how to do this properly, thank you.