I have copied the Forms from the /libs/foundation/components/form to /apps/mywebsite/components/form, I made some changes to the copied form files but still the default form is getting called.
Could you let me know or provide some documentation for the forms.
Thanks in advance
If you didn't want to overrride but extend the foundation forms, you need to make sure that you copied everything or have the inheritance to foundation right. Most important is the
cq:editConfig/cq:formParameters
, where you need to havesling:resourceSuperType="foundation/components/form/defaults/field"
. If you use acq:template
instead, you need to set the supertype parameter there.Then you would have to use your components on the page instead of the foundation ones.