02-15-2018, 12:35 PM
We're actually working on a new and really awesome form generator, but this function still works and will continue to.
Essentially this function speeds up creating the form, but you still have to process it.
So the syntax is
Then at the top of the page, you can do a dnd to see what the form is submitting and write your logic to process it.
Sorry. There was no documentation on that.
Essentially this function speeds up creating the form, but you still have to process it.
So the syntax is
Code:
<form class="" action="" method="post">
Code:
<?php generateAddForm('mqtt');?>
Code:
<input type='submit' value='submit' name='submit' class='form-control'>
Code:
</form>
Then at the top of the page, you can do a dnd to see what the form is submitting and write your logic to process it.
Code:
if(!empty($_POST)){
Code:
dnd($_POST);
Code:
}
Sorry. There was no documentation on that.