Forum
Using target attribute in forms app
The target="_blank" attribute is removed automatically from the form tag in the forms app. Is this feature not available in this addon?
The target="_blank" attribute is removed automatically from the form tag in the forms app. Is this feature not available in this addon?
Do you mean in your form template, or somewhere in the Forms app?
e.g. <perch:form id="demonstration" method="post" app="perch_forms" role="form" target="_blank">
The target attribute gets stripped out. The form works fine but the client wants the form to open a new window and not reload the current one.
There's no option for setting the
target
attribute currently. You could consider using JavaScript to control window behaviour in this case.