Documentation / Tutorials / Awesome Enterprise
To prevent XSS attacks of the Forms
/ Awesome Enterprise / To prevent XSS attacks of the Forms
Add your forms html in the [html.trusted] shortcode.
add the “data-safe_id='[app.safe_id /]’” attribute to your all form elements scripts and form tag itself.
Also include the DOMPurify library in your awesome-js app.
sample can be found in DesignCafe dev site.