Change required fields

This commit is contained in:
Sofia Baltzi 2017-10-20 12:38:27 +00:00
parent ac9ace0300
commit 00274f327e
1 changed files with 6 additions and 6 deletions

View File

@ -63,22 +63,22 @@
<div class="alert alert-danger" aria-hidden="true" style="display: none;"></div>
<div class="form-group">
<span class="msg_first_name_error uk-text-danger uk-text-small uk-float-left" style="display:none">Please enter your first name.</span>
<input id="first_name" name="first_name" type="text" placeholder="First name" class="form-control"></div>
<input id="first_name" name="first_name" type="text" placeholder="First name (*)" class="form-control"></div>
<div class="form-group">
<span class="msg_last_name_error uk-text-danger uk-text-small uk-float-left" style="display:none">Please enter your last name.</span>
<input id="last_name" name="last_name" type="text" placeholder="Last name" class="form-control"></div>
<input id="last_name" name="last_name" type="text" placeholder="Last name (*)" class="form-control"></div>
<div class="form-group">
<input id="organization" name="organization" type="text" placeholder="Affiliation / Organization:" class="form-control"></div>
<div class="form-group">
<span class="msg_username_error uk-text-danger uk-text-small uk-float-left" style="display:none">Please enter your username.</span>
<input id="username" name="username" type="text" placeholder="Username" class="form-control"></div>
<input id="username" name="username" type="text" placeholder="Username (*)" class="form-control"></div>
<div class="form-group">
<span class="msg_email_error uk-text-danger uk-text-small uk-float-left" style="display:none">Please enter your email.</span>
<span class="msg_email_validation_error uk-text-danger uk-text-small uk-float-left" style="display:none">Please enter a valid email.</span>
<span class="msg_email_conf_error uk-text-danger uk-text-small uk-float-left" style="display:none">These emails don't match.</span>
<input id="email" name="email" type="text" placeholder="Email" class="form-control"></div>
<input id="email" name="email" type="text" placeholder="Email (*)" class="form-control"></div>
<div class="form-group">
<input id="email_conf" name="email_conf" type="text" placeholder="Confirm email" class="form-control"></div>
<input id="email_conf" name="email_conf" type="text" placeholder="Confirm email (*)" class="form-control"></div>
<%--<div class="form-group">--%>
<%--<span class="msg_password_error uk-text-danger uk-text-small uk-float-left" style="display:none">Please enter your password.</span>--%>
<%--<span class="msg_pass_conf_error uk-text-danger uk-text-small uk-float-left" style="display:none">These passwords don't match.</span>--%>
@ -91,7 +91,7 @@
<%--<div class="form-group">--%>
<%--<input id="password_conf" name="password_conf" type="password" placeholder="Confirm password" class="form-control"></div>--%>
<div class="uk-margin uk-grid-small uk-child-width-auto uk-grid uk-text-left uk-grid-stack" uk-grid="">
<div class="uk-width-1-1 uk-text-meta uk-text-danger uk-first-column">All fields are required</div>
<div class="uk-width-1-1 uk-text-meta uk-text-danger uk-first-column">(*) Required fields</div>
<div class="uk-width-1-1 uk-grid-margin uk-first-column">RECAPTHA I AM NOT A ROBOT THING GOES HERE</div>
<div class="uk-width-1-1 uk-grid-margin uk-first-column">
<button type="submit" class="uk-button uk-button-primary" onclick="return validateForm();">Register</button>