Chrisj Posted June 27, 2013 Share Posted June 27, 2013 This Form works on another page on the site. But I'd like a log-in form also on the home page.A. I'd like to add this as the submit button: 1.src="images/login.png" B. And I'd like to remove the options. (But when I remove the "select area" the form won't work).Can you help me modify this working form with my above A. & B. requests? ]<form action="login.php" method="post" accept-charset="UTF-8" class="middletext"> <p> <style type="text/css"> .form_label { font-size: 100%; color: #000000; } #user_name_login { width: 70px; } #password_login { width: 40px; } </style> <label for="user_name_login" class="form_label"> Username </label> <input type="text" name="user_name_login" id="user_name_login" size="10" /> 1<label for="password_login" class="form_label"> Password </label> <input type="password" name="password_login" size="10" /> <select name="cookie_time" class="login-field"> <option value="1440">[var.lang_1_day]</option> <option value="10080">[var.lang_1_week]</option> <option value="43200">[var.lang_1_month]</option> <option value="-1" selected="selected">[var.lang_forever]</option> </select> <input type="submit" value="[var.lang_login_now]" class="button-form" /> <input type="hidden" name="submitted" value="yes" /> <input type="hidden" name="remember_me" value="remember_me" /> <input type="hidden" name="referer_url" value="[var.referer]"> </p> </form> Link to comment https://forums.phpfreaks.com/topic/279629-help-me-tweak-this-form/ Share on other sites More sharing options...
denno020 Posted June 30, 2013 Share Posted June 30, 2013 I can't see where "select area" is that you remove? Link to comment https://forums.phpfreaks.com/topic/279629-help-me-tweak-this-form/#findComment-1438613 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.