Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

UserForms - missing JS file


Go to End


5 Posts   1556 Views

Avatar
dymale

Community Member, 4 Posts

13 February 2013 at 3:31pm

UserForms is very good module, thank you :)

However...
If you run custom form created by UserForms module the error for Javascript “$("#Form_Form").validate is not a function” takes a place.
Of course, you can see it at FF with Firebug.

So, the file "framework/thirdparty/jquery-validate/jquery.validate.js" is missing. If add it, there are no problems at all.

Bug?

Avatar
Willr

Forum Moderator, 5523 Posts

14 February 2013 at 9:13pm

That file is added via a git submodule. If you download the module via composer it should handle installing that for you, otherwise run git submodule update. This is in the README file.

Avatar
hp777

Community Member, 13 Posts

27 February 2013 at 4:02pm

Anyway to get those js files (validate & Placeholders) manually? Can't use git

Avatar
Willr

Forum Moderator, 5523 Posts

27 February 2013 at 7:40pm

Avatar
hp777

Community Member, 13 Posts

28 February 2013 at 3:54am

Thanks for all the great work!