cancel
Showing results for 
Search instead for 
Did you mean: 

Override form.js

sanketgosavi
Champ in-the-making
Champ in-the-making
Hi ,

I've customized form.js

I've to extend or override form.js (tomcat\webapps\share\components\form\form.js)

How to do it, what is the extension path ?
4 REPLIES 4

romschn
Star Collaborator
Star Collaborator
Place your extended js to following path - tomcat/shared/classes/META-INF/components.
This way Out-of-the-box file will not have the customized code.

sanketgosavi
Champ in-the-making
Champ in-the-making
Hi Ramesh,

Placing the extended js on the specified path is not working

Have you put it at tomcat/shared/classes/META-INF/components/form/form.js?

sanketgosavi
Champ in-the-making
Champ in-the-making
It's working
Placed both extended .js and minified file at -> tomcat/shared/classes/META-INF/components/form

Thanks