Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
I have a dropdown control that's populated using SQL and a dependent field.
The user selects a valid option and submits the form. The selected value is stored to the variable. Down the line, the form gets reassigned back to the initial user and retrieves that stored value so it defaults to that value on the control.

However, the SQL that generated the options in that dropdown control should generate new options. (This won't get activated unless they user actually clicks on the dropdown control). If the user leaves the control alone, and presses submit, there is no error even though the saved option is now invalid.

How do I make it so that on submit, it checks the control to make sure that the old value is still valid now?

Any ideas in this regard? Thanks

Can anyone help me please??????

rabbidwombat, I have created a better code examp[…]

Processmaker 3.6.1 OpenSource?

Generally, they share the latest release source co[…]