I’m hoping someone will have the answer! I have a .CFM page where a user can select a name from a drop down list (populated by querying a name column in MySQL database.
However, I am trying to get the user to select a name from the drop down list, click ‘GO’ and then be taken to a form where fields are pre-populated with data already associated with that ‘name’ e.g. address, DOB etc. Here a user can update the record.
I have managed to create the form and create the validation needed there (e.g. checking for numerical values etc). I just can’t get the pre-populated data in there!!!
Thanks.
I assume the form will post the user id.
So on landingpage.cfm you will need to get the data for that name from the database and use that to set the value of the form inputs.