Welcome Guest, Not a member yet? Register   Sign In
New issues with form validation
#9

(04-13-2016, 10:50 PM)Wouter60 Wrote: Hi, the mix-up of field entries in your form is caused by one or more mistakes in the view file.
PHP Code:
<label for="name">Username</label>
<
input class="form-control" name="lastname" placeholder="Username" type="text" value="<?php echo set_value('username'); ?>" /> 

You intend to ask for the Username, but your field is named "lastname".

The problem that index.php now shows up in your URL's, may be caused by settings in your config/config.php file.
Please check the values for:
$config['base_url']
$config['index_page']


thanks a lot!!! its works now.

The first one should hold the true base url of your website, without index.php.
The last one should be empty.

Also check your .htaccess file to make sure the index.php is hidden from the url.

Hope this will help you.
Reply


Messages In This Thread
New issues with form validation - by koficypher - 04-13-2016, 11:37 AM
RE: New issues with form validation - by arma7x - 04-13-2016, 11:59 AM
RE: New issues with form validation - by Wouter60 - 04-13-2016, 01:13 PM
RE: New issues with form validation - by arma7x - 04-13-2016, 01:49 PM
RE: New issues with form validation - by Wouter60 - 04-13-2016, 10:50 PM
RE: New issues with form validation - by koficypher - 04-14-2016, 12:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB