ceeleelewis
Programmer
Hello,
I have an application (service request app) in which users will fill out a form to submit information for a machine(s) that that will require our team's services. Everything is fine except the fact that I will have repeat users on this system. To make the the process easier for my users, I would like have a function that can (onBlur)prefill the information in fields for previous users of the application so when a user types their id, all the fields will be filled with information stored in Access dB.
Since I know that everything will be triggered by the onBlur function. When I psuedo code what I'm trying to accomplish it should look some like this
dbConnection
if onBlur validation = true then prefill
else if false then user fill in fields
the onBlur function will validate the data.
is this the right approach? If not than can someone show me an example of a script that prefills form values based off the info on one field?
Any direction will be greatly appreciated.
I have an application (service request app) in which users will fill out a form to submit information for a machine(s) that that will require our team's services. Everything is fine except the fact that I will have repeat users on this system. To make the the process easier for my users, I would like have a function that can (onBlur)prefill the information in fields for previous users of the application so when a user types their id, all the fields will be filled with information stored in Access dB.
Since I know that everything will be triggered by the onBlur function. When I psuedo code what I'm trying to accomplish it should look some like this
dbConnection
if onBlur validation = true then prefill
else if false then user fill in fields
the onBlur function will validate the data.
is this the right approach? If not than can someone show me an example of a script that prefills form values based off the info on one field?
Any direction will be greatly appreciated.