I have a form which opens a user's record in a database for editing purposes. There is a field in the table that the user can set indicating that the form is complete and ready for submission. Once a user sets this flag, I do not want them to be able to access the form again to edit the data. In the On Load event, using the DB Record Loader action, I can check for the value of this field in On Record Found. Should this value come back as a "1" (meaning the user has indicated that the data is complete) how can I stop the display of the form and show a message?
I can use the following in a custom code action in the On Record Found:
I just don't know how to do what I want.
Thanks!!!
Rick
I can use the following in a custom code action in the On Record Found:
<?php
$completed = $form->data['reg_good'];
if ($completed == 1) {
} else {}
?>
I just don't know how to do what I want.
Thanks!!!
Rick