ALU Software Registration Page
Request a User Name and Password:
Please fill out the form completely. You will be emailed your user name and password and instructions for downloading the software.
If you have any questions about the website, please email us: alu@nrel.colostate.edu
Request Software:
(fields marked with a ‘*’ are mandatory)
function validate(formData, jqForm, options) {
// fieldValue is a Form Plugin method that can be invoked to find the
// current value of a field
//
// To validate, we can capture the values of both the username and password
// fields and return true only if both evaluate to true
var firstnameValue = jQuery(‘input[name=first_name]’).fieldValue();
var lastnameValue = jQuery(‘input[name=last_name]’).fieldValue();
var emailValue = jQuery(‘input[name=email]’).fieldValue();
var institutionValue = jQuery(‘input[name=institution]’).fieldValue();
var countryValue = jQuery(‘input[name=country]’).fieldValue();
// usernameValue and passwordValue are arrays but we can do simple
// “not” tests to see if the arrays are empty
if (!firstnameValue[0] || !lastnameValue[0] || !emailValue[0] || !institutionValue[0] || !countryValue[0]) {
alert(‘Please enter a values for required fields’);
return false;
}
}
jQuery(document).ready(function($){
jQuery(‘#ALUregistration’).ajaxForm({
beforeSubmit: validate,
success: function(response){
jQuery(‘#feedback’).text(response);
},
error: function(response){
jQuery(‘#feedback’).text(response);
},
resetForm: true
});
});