However, if you assign a value to form.vars.field, this value will
be part of the insert or update when the form is processed. This
enables you to change the value of fields that for some reason you do
not wish to include in a form.
The question is where do I access this variable form? I have tried both after form = SQLFORM... and after form.process()...and even in the onvalidation function... but I can't see the fields being updated. Furthermore: how can I update a list:reference in this way?
Note, I would like to do this specifically for the instance of the SQLFORM rather than using the database before_insert/update lists.
Robin Manoli
unread,
Dec 4, 2016, 6:12:47 AM12/4/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message