-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprogress-report-template.html
1 lines (1 loc) · 1.35 KB
/
progress-report-template.html
1
<a href='javascript:(function(){document.body.insertAdjacentHTML("afterbegin",'<form> <div> <label for="title">Title</label> <select name="title" id="title"> <option value="Mr.,his">Mr.</option> <option value="Ms.,her">Ms.</option> <option value="Mrs.,her">Mrs.</option> </select> </div> <div> <label for="type">Assessment type</label> <select name="type" id="type"> <option value="an assistive technology assessment">AT</option> <option value="a communications (Braille) assessment">Braille</option> </select> </div> <div> <label for="date">Date:</label> <input type="text" name="date" id="date" /> </div><button id="submit">Generate template</button> </form>');submit.addEventListener("click", function(event) {event.preventDefault(); var n=outClient.innerText.split(",")[0]; var g=title.value.split(","); var r=[g[0]," ",n," received ",type.value," from Society for the Blind on ",date.value,". An assessment report with detailed instructor observations and recommendations was prepared for ",g[1]," counselor. Please see that report for additional information."].join(""); ["txtObjectives","txtEstHours","txtAttitude","txtNotes"].forEach(function(c,i,a){document.getElementById(c).value="N/A"}); txtAccomplishments.value=r; txtAccomplishments.focus(); txtAccomplishments.setSelectionRange(0,0);});})()' title="progress report template">Progress report template</a>