Tag Archives: request

Form widget, Adding HTML/ Script in reply

After Request Form (Widget) is submitted, submit message is displayed to user.

This submit message (you can set it widget settings) can be simple text but can also be formatted as html (or javascript).


if you need to include scripts in message, there are some limts :

You can put simple scripts inside submit message:
< script>alert('alert');</ script>

will work, notice, all code is on single line, single quotes are used

if you need something more complex, make it javascript function,

put it inside page scripts and call this function from submit message:
< script>runMyFunction();</ script>

Print  posted by miro   Forms tags:  • request • form • html • javascript   permalink
0 0