add a form to a page

Hello,

I'm trying to add a simple submit form to a page. I click the html button on the tinymace editor, a dialog box with the html code of the page appears, I insert the following code in the html:

<form name="input" action="some url"
method="get">
Username:
<input type="text" name="user">
<input type="submit" value="Submit">
</form>
the form is displayed on the page, but the submit button is grayed out. How can I make it work as it does in a regular HTML page?

Thanks for the great support.

Comments

  • Problem solved. In the file texteditorconfig.php, just add:
    verify_html : false
    to the tinyMCE.init call
  • acrylian Administrator, Developer
    Ok, sorry for the late reply. I would have recommended to look at the tinyMCE config file, too. You also could have just used the codeblock.
Sign In or Register to comment.