I hope someone can help me out. I have a form that enables and disables text boxes based on what is chosen from a dropdown box.
How can I change whether a field on the table is required or not based on what is chosen on the form?
I tried setting the field to required. When I chose something from the dropdown box that made the text box bound to the required field disabled, I could not commit the entry to the table.
The only way to get every scenerio to work was to keep the field not required. The problem is that the entry can be saved without data being put into the field.
Any suggestions. I do not know how to change the properties of a field in the database, based on other entries in the database.
Any help will be greatly appreciated.
How can I change whether a field on the table is required or not based on what is chosen on the form?
I tried setting the field to required. When I chose something from the dropdown box that made the text box bound to the required field disabled, I could not commit the entry to the table.
The only way to get every scenerio to work was to keep the field not required. The problem is that the entry can be saved without data being put into the field.
Any suggestions. I do not know how to change the properties of a field in the database, based on other entries in the database.
Any help will be greatly appreciated.