flexy:ignore="yes" -- Prevent Automatic form value replacement
Description
Tells the generator not to replace form elements with PHP code. Can be used with a Form
Tag, or individual elements.
Example
Example 31-1. Template with flexy:ignore <form name="theform1">
<input name="theinput1">
<input name="theinput2" value="dummy">
</form>
<form name="theform2" flexy:ignore>
<input name="theinput3" value="dummy">
<input name="theinput4" value="dummy">
</form>
<form name="theform3">
<input name="theinput5" value="dummy" flexy:ignore>
<input name="theinput6" value="dummy">
</form>
<form name="theform4" flexy:ignoreonly="yes">
<input name="theinput7" value="dummy">
<input name="theinput8" value="dummy">
</form> |
|
Example 31-2. Compiled template <?php echo $this->elements['theform1']->toHtmlnoClose();?>
<?php echo $this->elements['theinput1']->toHtml();?>
<?php echo $this->elements['theinput2']->toHtml();?>
</form>
<form name="theform2">
<input name="theinput3" value="dummy">
<input name="theinput4" value="dummy">
</form>
<?php echo $this->elements['theform3']->toHtmlnoClose();?>
<input name="theinput5" value="dummy" flexy:ignore>
<?php echo $this->elements['theinput6']->toHtml();?>
</form>
<form name="theform4">
<?php echo $this->elements['theinput7']->toHtml();?>
<?php echo $this->elements['theinput8']->toHtml();?>
</form> |
|