|
C
|
cgphp 9/18/2012 |
|
Check this article: http://xlinesoft.com/phprunner/docs/add_custom_field_to_form.htm |
|
|
W
|
wildwally author 9/18/2012 |
|
Check this article: http://xlinesoft.com...eld_to_form.htm
|
|
|
C
|
cgphp 9/18/2012 |
|
If you are using a snippet, add a custom button. |
|
|
W
|
wildwally author 9/18/2012 |
|
If you are using a snippet, add a custom button. In the "Client before" event get the values of the inputs and pass that values to the Server events. In the Server event add the update/insert queries.
|
|
|
|
Sergey Kornilov admin 9/18/2012 |
|
You can do that using jQuery. val() function will read the value of any input control you specify: |
|
|
W
|
wildwally author 9/19/2012 |
|
I was able to get this to work, but is there a way to tell it to only look at fields with a specific name or id? this.on('beforeSave', function(formObj, fieldControlsArr, pageObj){ |
|
|
|
Sergey Kornilov admin 9/19/2012 |
|
Sure, check jQuery docs. Selecting by id is a bit easier: |
|