Home › Forums › Quform WordPress › Help with a Couple of problems
Hi, on my form i’m trying to create a post with the submitted info, using this from help page:
<?php if (!defined(‘ABSPATH’)) exit; // Prevent direct script access ?> <h2>Submitted form data</h2> <p>Submitted field 1: <?php echo $form->getValueHtml(‘iphorm_3_1’); ?></p> <p>Submitted field 2: <?php echo $form->getValueHtml(‘iphorm_3_2’); ?></p> <p>Submitted field 3: <?php echo $form->getValueHtml(‘iphorm_3_3’); ?></p> <p>Submitted field 4: <?php echo $form->getValueHtml(‘iphorm_3_4’); ?></p> <p>Submitted field 5: <?php echo $form->getValueHtml(‘iphorm_3_5’); ?></p>
Now, is there a way to check if the field is empty to not show it on the HTML?.
2. I’m using a dropdown menu that when an option is selected a question with checkboxes pop up. but this weird spacing happens:
Is there a way to fix this?
Thanks in advance!
Actually fixed all this, thanks anyways!