Webforms strip the "<script>" tag in the last wizard step #9465
Labels
Area: Campaigns
Issues & PRs related to all things regarding campaigns
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Type:Bug
Bugs within the core SuiteCRM codebase
Tested in last version of SuiteCRM and https://demo.suiteondemand.com/
After creating a form, the javascript code is displayed in the HTML as normal text, this is due that the "<script>" tags dissapear before generating the code in the last step. See images bellow:
Issue
Javascript code in WebForms aren't working cause the script HTML tags are missing
Expected Behavior
The script HTML tags should be present and javascript working
Actual Behavior
Javascript code appears as text in HTML
Possible Fix
Reverting some of last merged PRs
Steps to Reproduce
Context
This shouldn't be happening.
Your Environment
SuiteCRM Version used: Version 7.12.2
Browser name and version: Chrome Versión 97.0.4692.71 (Build oficial) (64 bits)
Environment name and version: MySQL, PHP 7
Operating System and version: Ubuntu 18.04
The text was updated successfully, but these errors were encountered: