validation error |
[eluser]razerone[/eluser]
I have got a validation error. I have got my validation working but instead of putting this <?php echo validation_errors(''); ?> at top where it would show all errors I would like to be able to just go like this Code: <form role="form" method="post" acti> currently when press send four lines of error show up http://www.development2.carrarawebsiteso.../contactus
[eluser]razerone[/eluser]
[quote author="Tpojka" date="1383213875"]What do errors say?[/quote] I just got error fix before but as also in comment I would like to know if it is possible to get the input errors to show like this Code: <input class="form-control" name="name" value="" placeholder=""> And so on. Currently just showing like this Code: <input class="form-control" name="name" value="" placeholder=""> You can try it out and see what I mean http://www.development2.carrarawebsiteso.../contactus
[eluser]Tpojka[/eluser]
You are not doing something well. Basic school example is working for me: Code: class Form extends CI_Controller { Code: <html> Code: <html>
[eluser]razerone[/eluser]
[quote author="Tpojka" date="1383217903"]You are not doing something well. Basic school example is working for me: Code: class Form extends CI_Controller { Code: <html> Code: <html> Thanks will give it ago just slowly teaching my self going through userguide
[eluser]razerone[/eluser]
[quote author="Tpojka" date="1383219296"]User guide is best place to start with. [/quote] Yes it is now found what I was after I must of missed that line <?php echo form_error('name', '<div class="alert alert-warning">', '</div>'); ?> much easier now thanks its hard when self teaching but have plenty of time on my side not allow to work until so getting my home business set up I was just going to learn html but switch to php can to more functions with php |
Welcome Guest, Not a member yet? Register Sign In |