run script just before the form submits

Posted by Rollbase User on 16-Sep-2011 00:30

Good day! I would like to run a certain script just before the form submits to the server. Here is what I've done so far and want to achieve in details. I created a function that will do the arithmetic and return the value inside certain field, since the value is not inputted by the user I created a function to disable them once the computation is done. The problem is when you submits form the value of disabled fields is not saved. I tried to use the fields events but this won't do the trick. Please help =( Thanks in advance Kim

All Replies

Posted by Admin on 16-Sep-2011 00:32

The function I would like to run will enable the disabled function. If there is an event like onlick of "save" button please guide me Thanks again

Posted by Admin on 16-Sep-2011 01:31

Don't bother I figured it out. Thanks anyway =)

Posted by Admin on 16-Sep-2011 09:24

Please use hidden field parallel or instead of disabled text field.

This thread is closed