PHP Classes

Form Persistence: Save submitted form values in session variables

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 508 All time: 5,779 This week: 455Up
Version License PHP version Categories
form-persistence 1.5GNU General Publi...3.0HTML, PHP 5, User Management, Validation
Description 

Author

This class can save submitted form values in session variables.

It can take given form input names and stores the respective form values in session variables with the same name.

The class can also traverse the list of form values in stored values and validate them to check if they are not sent to empty strings. For each empty field value, an error message is displayed.

Picture of Fernando Alls
  Performance   Level  
Name: Fernando Alls <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: ???
All time rank: 126782 in Brazil Brazil
Week rank: 250 Up21 in Brazil Brazil Up

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file Documentation.php Doc. how to use formPersistence
Accessible without login Plain text file example.php Example example, formPersistence in action
Plain text file Persistence.class.php Class Persistence class use this class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:508
This week:0
All time:5,779
This week:455Up