Hello,
In a Form I have a dropdown list with the existent themes in the table (the list is created whit SELECT DISTINCT).
I would like to give the oportunity for the user to add a new theme in the same Form if it doesn't already exists.
My idea is to have two fields: theme_1 and theme_2. The first is the dropdown list, and the second a normal imput field.
Then, after Submit, the field theme_1 would be filled with the theme_2 value. The next time the dropdown list would include than new thame.
I don'n know how to do this operation of fill the field theme_1 with the value in theme_2
Any ideas?
Thank you in advance,
Gonzalo
In a Form I have a dropdown list with the existent themes in the table (the list is created whit SELECT DISTINCT).
I would like to give the oportunity for the user to add a new theme in the same Form if it doesn't already exists.
My idea is to have two fields: theme_1 and theme_2. The first is the dropdown list, and the second a normal imput field.
Then, after Submit, the field theme_1 would be filled with the theme_2 value. The next time the dropdown list would include than new thame.
I don'n know how to do this operation of fill the field theme_1 with the value in theme_2
Any ideas?
Thank you in advance,
Gonzalo