Hello!
I use a SQLFORM to enter client data which works perfectly.
The problem: when adding a new record I want the user to confirm that some of the entered data is also entered into a second database table but I cant' get the confirmation dialog to run.
The recommended way
form = FORM.confirm("Are you shure?")
if form.accepted:
does not work at all. No matter where in the controller I place the code.
The dialog simply does not pop up and never enters the if form.accepted clause. Looking at the pages source does not show up any javascript containing "Are you shure".
Adding a field of class='delete', will popup a dialog when checking the field, but the text shown is not what I nedd.
I spend ages on google to find an working example but i failed.
I'm working on Debian 8, browser is cromium, javascript is enabled, popups are as well.
Any help is very welcome, Thank you,
Thorsten