This topic is locked

Retain form values after submit

9/14/2018 6:07:36 PM
PHPRunner General questions
M
Mr Foxx author

Bit of a newbie trying to explore PHPRunner.

I have been trying to find a way to keep the values in the fields after a record is added.

The reason being many records have to be added for the same student so to avoid retyping or re-selecting the student's name after every record I would like to retain the student's ID first and last then simply type the additional information for the next record pertaining to that student.

Will surely appreciate any assistance here.

M
Mr Foxx author 9/18/2018



See here: https://xlinesoft.com/phprunner/docs/speed_up_data_entry_using_events.htm


Thank you a million you are a life saver.

Just one more favor:

I am using a barcode scanner to enter a student ID into the system for class attendance tracking,

I already read a very useful post on having the SAVE button automatically clicked once the barcode is entered by using some Javascript onload event of Add/Edit pages:
$(document).keyup(function(e) {

if (e.keyCode == 13)

{

$("#saveButton1").trigger('click');

}

});



Thanks to Sergey Kornilov for that solution

I would like a few seconds delay before the save button is automatically clicked so some data can be viewed on the screen before being saved.

For example the student info can be viewed briefly before saving and getting ready to accept the next input.
Thanks again for the support.