The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Validation help for a NooB (JS?) - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8) +--- Forum: Form Validation: JS + PHP (https://forums.formtools.org/forumdisplay.php?fid=18) +--- Thread: Validation help for a NooB (JS?) (/showthread.php?tid=21714) |
Validation help for a NooB (JS?) - eris667 - Feb 25th, 2017 I have created a form, and it is working great! The only thing I would like to do is prevent duplicate text box entries for a certain field (empire_name) The form is FormBuilder type, Published For what I am reading I need to use the JS validation method? https://docs.formtools.org/userdoc/field_validation/?page=edit_field_dialog https://docs.formtools.org/tutorials/js_validation/ How / Where do I make the changes? I seem to be missing something, probably simple.... Thanks! Mike RE: Validation help for a NooB (JS?) - eris667 - Mar 4th, 2017 Bump? Still trying to figure this out... RE: Validation help for a NooB (JS?) - eris667 - May 1st, 2017 Bump? RE: Validation help for a NooB (JS?) - nelsondcosta - Aug 23rd, 2017 baaah tool its great but support its very hard :S it should be a premium support RE: Validation help for a NooB (JS?) - ocbroadband - Nov 2nd, 2017 (May 1st, 2017, 1:02 PM)eris667 Wrote: Bump? Is this a internal or external form. If external, can you paste it here? Remove any sensitive info of course. Here's a snippet for a single field and what is required for a external form. All the below is in a single .php file, but pruned to just show the minimum fields. Registration Page PHP Code: <?php You'll have to read through the options for the different field types, but the above should give you a base page to start with. Hopefully, I didn't bork anything up by removing too much for this example. Lyle |