Welcome Guest, Not a member yet? Register   Sign In
Assistance needed on form!!
#3

[eluser]xwero[/eluser]
What does the tell a friend button exactly do? If you only want to remove the input data you can set the validation->fieldname value to an empty string in your controller.

A tip for the het html snippet. You could rewrite it like
Code:
<p&lt;? if($this->validation->source_phone_error!="")echo 'class="error"';?&gt;><label for="source_phone" >Home Phone*</label>
&lt;input type="text" id="source_phone" name="source_phone" value="&lt;?=$this-&gt;validation->source_phone;?&gt;" /></p>
Less php code in your view and less classes in your css.


Messages In This Thread
Assistance needed on form!! - by El Forum - 04-08-2008, 03:24 AM
Assistance needed on form!! - by El Forum - 04-08-2008, 03:35 AM
Assistance needed on form!! - by El Forum - 04-08-2008, 04:13 AM
Assistance needed on form!! - by El Forum - 04-08-2008, 04:23 AM
Assistance needed on form!! - by El Forum - 04-08-2008, 05:14 AM
Assistance needed on form!! - by El Forum - 04-08-2008, 05:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB