Skip to content

Auto populate hidden fields

Problem:

I have a hidden field that needs to auto populate when the user creates a new record so the record shows in queries for them only.

Solution:

Since it is auto populated during insert, you should use jqGridAddEditBeforeSubmit event to modify the value of that hidden field before submit.


Example of custom event handler.

https://phpgrid.com/example/custom-event-handler/

Feedback and Knowledge Base