Sandbox:CourseSignup

 <!-- var initial_count = new Array; var rows_limit = 0; // Set to 0 to disable limitation

function addRow(table_id){ var tbl = document.getElementById(table_id); // counting rows in table var rows_count = tbl.rows.length; if (initial_count[table_id] == undefined){ // if it is first adding in this table setting initial rows count initial_count[table_id] = rows_count; }

// determining real count of added fields var tFieldsNum = rows_count - initial_count[table_id]; if (rows_limit!=0){ if (tFieldsNum >= rows_limit) return false; } var text = "Name: Email:"; var input = ""; var remove= ""; try { var newRow = tbl.insertRow(rows_count); var newCell = newRow.insertCell(0); newCell.innerHTML = text; var newCell = newRow.insertCell(1); newCell.innerHTML = input; var newCell = newRow.insertCell(2); newCell.innerHTML = remove; } catch (ex) { //if exception occurs alert(ex); } }

function removeRow(tbl,row){ var table = document.getElementById(tbl); try { table.deleteRow(row.rowIndex); } catch (ex) { alert(ex); } }

function EntryCheck{ if (document.groupregister.university.value == '') { alert('Please specify a University/Institute name for your course.'); document.groupregister.university.focus; return false; }	if (document.groupregister.university.value.length > 100) { alert('University/Institute name must not exceed 100 characters.'); document.groupregister.university.focus; return false; }	if (document.groupregister.lab.value == '') { alert('Please specify a Course Number for your group.'); document.groupregister.lab.focus; return false; }	if (document.groupregister.lab.value.length > 100) { alert('Lab/Course/Team name must not exceed 100 characters.'); document.groupregister.lab.focus; return false; }	if (document.groupregister.reason.value.length > 255) { alert('Reason for creating group must not exceed 255 characters.'); document.groupregister.reason.focus; return false; }	if (document.groupregister.school.value.length > 100) { alert('Reason for creating group must not exceed 100 characters.'); document.groupregister.school.focus; return false; }	if (document.groupregister.note.value.length > 255) { alert('Note must not exceed 255 characters.'); document.groupregister.note.focus; return false; }	if (document.groupregister.comment.value.length > 255) { alert('Comment must not exceed 255 characters.'); document.groupregister.comment.focus; return false; }	if (document.getElementById('member') == undefined){ alert('You must specify at least 1 lab member.'); document.getElementById('mytable').focus; return false; }	return true; }

// -->   

Please enter the names and email addresses of the members of your Lab.

Click on the "Add a lab member" button above to add the name/email fields items for each member of your group. Each of these members will be connected by OWW to your lab.

Their names, email addresses as well as the affiliation and reasons for your joining OpenWetWare will be used to validate each of the lab members.

Example: Name: James Smith

Example: jmith@foo.bar    Message to New Lab/Course Members:   

(Optional)

Enter a message you would like to have included in the Welcome messages sent out upon approval of each member's OWW account.

Example: This is the OWW account you will use for BE 10.10. Please contact me with any questions or comments. Dr. Brox

   Comment: <td valign="top" align="left"> <span class="forms_style1"> <textarea rows="5" cols="15" class="forms_format" id="comment" name="comment">

(Optional)

Please enter any addition comments you may have.

This will not appear in your OWW information but will be displayed to OWW admins reviewing your account.

Example: This application is for my first OWW course. Please contact me if this isn't complete!

<input type="submit" class="forms_button" name="submit" value="Submit!" />

<script language="JavaScript"> if (wgUserName.length == 0){ document.getElementById('form_body').style.display="none"; }else{ document.getElementById('form_body').style.display="inline"; }