My form reads a database to display result. From there, the user fills in other fields and I save this full record into a new table. All this works for my needs.
BUT, if the user checks a specific box (Yes = 0, No =1) I want to update the original table with this value.
Should I just put an IF condition and PHP the SQL statement? Are there any examples of PHP and SQL with chronoforms out there?
BUT, if the user checks a specific box (Yes = 0, No =1) I want to update the original table with this value.
Should I just put an IF condition and PHP the SQL statement? Are there any examples of PHP and SQL with chronoforms out there?