I want to print a webform in the body area. I selected PHP code as input format, but the PHP code is rendered as plain text.

Comments

Muhammad Nasir created an issue. See original summary.

Muhammad Nasir’s picture

StatusFileSize
new153.72 KB
new148.33 KB
new159.18 KB
avpaderno’s picture

Issue summary: View changes
Issue tags: -
avpaderno’s picture

Version: 8.x-1.0 » 8.x-1.x-dev
gaurav.kapoor’s picture

Status: Active » Closed (won't fix)

This might look like a useful way of showing webform to users who are about to close the tab but I wouldn't recommend doing it because of security reasons. You can implement a custom modal and then show the webform to the user.