Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Form validation, mootools and signup form

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1509 Views
  • cevic
    Avatar
    Community Member
    5 Posts

    Form validation, mootools and signup form Link to this post

    I normally use Modx as a CMS for my sites but decided to switch to Silverstripe for its integrated newsletter functions. Also, I use Mootools as a JS framework.

    So far everything has gone OK getting used to SS, however there seems to be an unsolvable compatibility problem with Mootools and the JS framework SS uses for its form validation. Each time I try to use an in-built form and I get all the default JS includes that freeze my Mootools functions.

    After reading the documentation and forums I was able to get my own contact forms working with my own validation. However I don't seem to be able to have a custom made newsletter sign up form. I followed the steps described here:

    http://doc.silverstripe.com/doku.php?id=recipes:forms

    but it gives me only two options: in-built signup form in all the pages or a custom made signup form in a separate signup page.

    Is there a way of having a custom made newsletter signup form in all my pages?

    Also, if anyone tried integrating SS and Mootools and run into the same form validation issues, can you please let me know how you solve them?

    Cheers,

    Cevic

    1509 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.