Hi folks,
I have two tables:
table1: descriptive weekdays --> monday, tuesday,..., sunday
table2: numerical weekdays --> 1, 2, ...,7
These two tables have been linked together with refereential integrity.
In my form I have a select box, which contains the data from table1. In a, say text field I want to display the weekday "in numerical form" based on the selection I made before in the select box. That is, as I select an item in the select box and go to the next control element this field with the numerical weekday should be changed, respectively (if sunday is selected, the text field should display 7, as I hit on enter).
Does anyone have an idea how to accomplish this task?
Thank you for any help!
I have two tables:
table1: descriptive weekdays --> monday, tuesday,..., sunday
table2: numerical weekdays --> 1, 2, ...,7
These two tables have been linked together with refereential integrity.
In my form I have a select box, which contains the data from table1. In a, say text field I want to display the weekday "in numerical form" based on the selection I made before in the select box. That is, as I select an item in the select box and go to the next control element this field with the numerical weekday should be changed, respectively (if sunday is selected, the text field should display 7, as I hit on enter).
Does anyone have an idea how to accomplish this task?
Thank you for any help!