Not a stupid question at all, and AngularJS can be a pain to understand at times.
FYI, the plain JavaScript template is included with the latest version of Formulate. Might be a good alternative if you want to avoid AngularJS. This page shows how to render the plain JavaScript template: http://www.formulate.rocks/plain-javascript/render-form
2 instances of formulate same page
hello Nicholas
im having problems rendering 2 or instances of formulate on the same page if you check source code of this page you can see 2 instances
link
i think every thing is ok but it only renderes one form ... am i doing something worng ?
thank you
Just looked at it quickly, but what immediately stuck out is that you have
ng-app
in your markup twice. You can't do that; AngularJS won't allow it.You should have
ng-app
on some common ancestor element of all of the forms. For example, you could put it on thebody
element.Perfect :) ...
sorry for the stupid question ...but not a huge fan of angular nor undertstand very much of it :(
Thank you Nicholas once again
Angelo
Not a stupid question at all, and AngularJS can be a pain to understand at times.
FYI, the plain JavaScript template is included with the latest version of Formulate. Might be a good alternative if you want to avoid AngularJS. This page shows how to render the plain JavaScript template: http://www.formulate.rocks/plain-javascript/render-form
is working on a reply...