As was inevitable, I ended up tweaking the Forms Class that I originally created. Changes include:
- Adding a way to pass an additional button to the submit_button() method
- Force to display a value that you want through the $forceValue parameter in input_type_text()
- select_option() checks for both $_POST and $_GET to display the selected option
- Each method has a new parameter called $formGroup. Allows the user to wrap the method contents with the form-group div tag.
Comments
Post a Comment