Would read from DBRead and fill the text box values if row found.
The DB read is working fine and is fetching values, kind of lost on what goes into "On Found" event.
Thanks
Ok found and answering my own question.
Steps to load a db value into a form textbox.
1) Add DBRead before HTML Render
2) Drag a custome code into the "On Found" Event of DBRead
3) Add below code:
<?php
$form->data[FirstName] = $form->data[Data][FirstName];
$form->data[LastName] = $form->data[Data][LastName];
$form->data[Email] = $form->data[Data][Email];
$form->data[Phone] = $form->data[Data][Phone];
?>
Hi simplelogic,
If you remove 'Data' from the Model ID box in the DB Read then you won't need to the Custom Code.
Bob