This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Default Value
Started 12 years ago by comptech520 | 2 posts |
-
Hi,
I have a PHP variable called $ID and on the page where I have the MachForm form in an AJAX popup, it loads $ID into the index.php page (where the ajax popup link is), and want to fill that as the default value on a specific field.
So I entered <?php echo $ID;?> as the default value and this showed up on the form "<?php echo $ID;?>", how can I get the variable to populate the field.
Posted 12 years ago # -
You can't use PHP code to set default values.
However, you can use GET parameters for this. More information here:
http://www.appnitro.com/doc-url-parametersMachForm Founder
Posted 12 years ago #
Reply
You must log in to post.