Trouble storing initial values on a form submitted with an error

2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 14, 2017   (RSS)

By Dave - August 14, 2017

Hi Jeff, 

This should work for the textarea: 

<textarea class="form-control" rows="3" name="vetaddress">
<?php echo htmlspecialchars(@$_REQUEST['vetaddress']) ?>
</textarea>

For the other fields, try getting them to display default selections or data in a plain html page.  Once you can do it with plain HTML then you can automate it with PHP.  

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com