Skip to content

Improved form helpers and full integration with Trongate MX

Latest
Compare
Choose a tag to compare
@trongate trongate released this 16 Dec 20:04
· 3 commits to master since this release

This release introduces a variety of improvements and fixes to Trongate's form helper functions. The most significant changes are:

  1. A FIX to the form_button() function. Previously, this was incorrectly rendering a button with a type of 'submit'.

  2. A CHANGE to the workings of the post() function. When you pass a second argument of 'true' (boolean) to the post() function, string cleaning now involves simple trimming with normalization of excessive spacing.

  3. The validation class now invokes the post() function when set_rules is called. This eliminates the disjointed process where validation would evaluate one version of a posted variable while the database potentially inserted or updated a different version.

**IMPORTANT: Please update the following folders after installing this release:

  • public/js
  • public/css**