email address error checking
Permalink Browser Info Environment
Great pluggin thanks, how can i implement simple error checking on the telephone and email fields so that it recognises if the @ symbol has been used or if numbers have been used etc in the relevant fields?
I'm very new to php, any help would be greatly appreciated
many thanks
I'm very new to php, any help would be greatly appreciated
many thanks
Type: | Discussion |
---|---|
Status: | New |
After a bit more digging around the forums i managed to find a solution to add simple form validation to an Ajax form
At the bottom of this post is the necessary code:
http://www.concrete5.org/community/forums/chat/email-validation/#26...
Thanks for taking the time to reply.
At the bottom of this post is the necessary code:
http://www.concrete5.org/community/forums/chat/email-validation/#26...
Thanks for taking the time to reply.
What you want to do is outside the realm of this addon. This addon is what's called a "custom template" in the Concrete5 world, which means it is built on top of the existing "Form" block that comes pre-installed with C5 sites and only affects how it looks -- not how any of its fields function.
In other words, to accomplish what you want, you need to modify the "Form" block, not this addon (you could still use this addon on top of the modified Form block though). You'll probably want to search the forums for how to do this or post a new message to the "Building With Concrete5" forum if you don't find an existing solution.
Also, if you have a budget for your project, the "Advanced Form" addon in the marketplace is not free, but I believe it has this functionality (and a lot more).
Best of luck,
Jordan