HOW TO force showing invalid data in the form fields?

Discuss everything related to DataValidator. All versions. Any questions related to the DataValidator developing or using should be posted to this forum.

Moderators: alexandrleonenko, goas

administrator
Site Admin
Site Admin
Posts: 6009
Joined: Jan 7th, '09, 23:18
Contact:

HOW TO force showing invalid data in the form fields?

Postby administrator » Oct 18th, '13, 07:51

The DataValidator only responsible for validation of data, so this operation must be done manually by yourself.

Example:

Code: Select all

<input type="text" value="<?php echo (isset($_POST['age'])) ? htmlentities($_POST['age']) : '' ?>" name="age">

Return to “ApPHP DataValidator”