Hidden field php rendering extra characters after ;?
Posted: Mon Nov 09, 2020 5:06 pm
In the latest ver 16.04
I have a hidden field datesent on the form where the value is set to <?php echo date("m/d/Y") ;?>
But when I check the HTML it is rendered like this: <input type="hidden" name="datesent" value="<?php echo date(" Y")="" ;?="">">
This is causing the form to fail on load.
In the last ver 15
The same code was rendered like this:
<input type="hidden" name="datesent" value="<?php echo date("m/d/Y") ;?>">
I have a hidden field datesent on the form where the value is set to <?php echo date("m/d/Y") ;?>
But when I check the HTML it is rendered like this: <input type="hidden" name="datesent" value="<?php echo date(" Y")="" ;?="">">
This is causing the form to fail on load.
In the last ver 15
The same code was rendered like this:
<input type="hidden" name="datesent" value="<?php echo date("m/d/Y") ;?>">