Trim() all fields of Add/Modify Event/Location forms on submission
-
All the fields in the forms of Add/Modify Event/Location forms should be ran through the trim() function to remove extra whitespace from the beginning and the end of the fields when submitting the form.
At the moment we have to spend some of our working time fixing these manually, for example location addresses that are displayed as “Address X , Town” with one or a dozen spaces before the comma as the user’s copy-pastes come in varying formats.
If you’ll let me know which part of the code, at least which file, handles the form data after submission, I’ll see if I can work out a patch for you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Trim() all fields of Add/Modify Event/Location forms on submission’ is closed to new replies.