*/
jQuery(document).ready(function(){
- jQuery("#commentForm").validate({
+ jQuery("#registrationForm").validate({
rules: {
password: {
required: true
}
});
// upload button
- jQuery("#question").change(function(){
+ jQuery("#key-policy").change(function(){
if(this.value=="upload"){
jQuery("#upload_key").show();
}else{
<div class="form-group" style="display:none;" id="upload_key">
<label for="file" class="col-md-4 control-label">Upload public key</label>
<div class="col-md-4">
- <input type="file" name="user_public_key" class="form-control" id="user_public_key" required/>
+ <input type="file" name="user_public_key" class="form-control" id="user_public_key"/>
<p class="warning" id="pkey_del_msg">Once your account is validated, you will have to delegate your credentials manually using SFA [Advanced users only]</p>
</div>
<div class="col-md-4"><p class="form-hint">Account Delegation: Manual (Advanced Users)</p></div>