Jump to:

10979 Posts in 2722 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » Cannot use User Forms Module

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 2672 Views
  • AMcD
    Avatar
    Community Member
    2 Posts

    Re: Cannot use User Forms Module Link to this post

    Big Bang Creative - Looks like it can't find the css and js files, probably because the directory name is wrong.
    It doesn't make it clear in the instructions, but the module directory must be called userforms.

    So rename it from userforms_v0.1.0 to userforms before or after you upload it.

  • Big Bang Creative
    Avatar
    Community Member
    92 Posts

    Re: Cannot use User Forms Module Link to this post

    Hi SalvaStripe, I have tried your contact form and I can get it to send with no problems however I can't get the validation to work. I've copied the exact code you posted, does the validation work for you? I can get it to work on the email field but not others.

    EDIT/UPDATE: I have this working on SS v2.3.1 perfectly however I have a few sites running v2.2.3 which I cannot upgrade. On the sites running v.2.2.3 everything works apart from the validation. Viewing the source code I see there is no javascript been added at all. Do you think this will even work if I can manually add in the javascript?

    Also the form I have working perfectly on SS v2.3.1 only validates against the email address. I have this: $validator = new RequiredFields('cfName', 'cfEmail', 'cfMessage'); but that does not work.

    2672 Views
Page: 1 2
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.