Forums

Need Help Deleting a field

eryabo 30 Dec, 2012
I imputed the following code into the formatted text field:

</head>
<form name="myform"><div align="center">
<select name="optone" size="1"
onchange="setOptions(document.myform.optone.options
[document.myform.optone.selectedIndex].value);">
<option value=" " selected="selected"> </option>
<option value="1">First Choice</option>
<option value="2">Second Choice</option>
<option value="3">Third Choice</option>
</select><br> <br>
<select name="opttwo" size="1">
<option value=" " selected="selected">Please select one of the options above first</option>
</select>
<input type="button" name="go" value="Value Selected"
onclick="alert(document.myform.opttwo.options
[document.myform.opttwo.selectedIndex].value);">
</div></form>
<body>
<form name="myform"><div align="center">
<select name="optone" size="1"
onchange="setOptions(document.myform.optone.options
[document.myform.optone.selectedIndex].value);">
<option value=" " selected="selected"> </option>
<option value="1">First Choice</option>
<option value="2">Second Choice</option>
<option value="3">Third Choice</option>
</select><br> <br>
<select name="opttwo" size="1">
<option value=" " selected="selected">Please select one of the options above first</option>
</select>
<input type="button" name="go" value="Value Selected"
onclick="alert(document.myform.opttwo.options
[document.myform.opttwo.selectedIndex].value);">
</div></form>
</body>
</html>


Now I can't delete it no matter what I do and the form will not save. Please assist if anyone has a solution.
GreyHead 30 Dec, 2012
Hi eryabo,

Click the red X and delete the whole element.

The 'Formatted text' element is good for formatted text, that is basic HTML.

It is not good for:
[list]
  • Anything with double quotes in it

  • <html>, <head>, <body> or <form> tags - never put those in any ChronoForms code

  • <select> drop-down code, use a Drop Down element or a Custom Element element

  • <input> code - use a Text box element or a Custom Element element

  • JavaScript snippets - best to separate it from the HTML and use a Load JS action.
  • [/list]

    Bob
    This topic is locked and no more replies can be posted.