Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How do I configure built in form Component in CQ 5?

Avatar

Level 2

I have dragged the predefined Form component in my page.

[img]form.PNG[/img]

I want to configure this form component i.e. by default it's points to itself, and data goes in BulkEditor. I want my data to be submitted to my own servlet. So how do I make the action="/MyServlet"

I also want to include my .js validation on this page, I tried using this linkhttp://www.sfu.ca/itservices/cms/howto/advanced/style-a-page/customjavascript.html but I just don't have the option of adding .js in my page properties, why?

1 Accepted Solution

Avatar

Correct answer by
Level 8

You should use client library folders to add javascript files:

http://dev.day.com/docs/en/cq/current/developing/clientlibs.html

scott

View solution in original post

2 Replies

Avatar

Correct answer by
Level 8

You should use client library folders to add javascript files:

http://dev.day.com/docs/en/cq/current/developing/clientlibs.html

scott