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
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];
?>
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];
?>
This topic is locked and no more replies can be posted.