Allows forms to be pre-rendered on the server side if clientside JavaScript is disabled (if clientside JavaScript is enabled forms run as they have previously).
You'll need to run npm install for this to work as it puts in jsdom as a dependency to do the server side clientside jsonform work.
For forms that there is no point even showing without JavaScript as they have no chance of working (ajax forms etc), send a dynamicForm variable along with the form object when rendering it. This prints a translatable "<noscript>You need JavaScript enabled to display this form</noscript>" in place of the form.
Allows forms to be pre-rendered on the server side if clientside JavaScript is disabled (if clientside JavaScript is enabled forms run as they have previously).
You'll need to run
npm install
for this to work as it puts injsdom
as a dependency to do the server side clientside jsonform work.For forms that there is no point even showing without JavaScript as they have no chance of working (ajax forms etc), send a
dynamicForm
variable along with the form object when rendering it. This prints a translatable"<noscript>You need JavaScript enabled to display this form</noscript>"
in place of the form.