-
-
Save rickcnagy/13dbbe3283039b9175bc to your computer and use it in GitHub Desktop.
Only the JS version of qsTextAreas.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qsMatchLabels = [ | |
"How did you learn of Living Wisdom School?", | |
"Family Religion", | |
"What are your educational goals for your child? In what way do you believe Living Wisdom School will help to accomplish these goals?*", | |
"Academic Assessment*", | |
"Social Assessment*", | |
"Emotional Assessment*", | |
"Spiritual Assessment*", | |
"Has the student ever skipped or repeated a grade? Please Explain.*", | |
"Has school attendance been steady and regular? If not, please explain.*", | |
"Has the student been referred or tested for learning disabilities, ADD/ADHD, or emotional difficulties, etc.? If so, can you provide a copy of the results and recommendations?*", | |
"Has the student ever required special tutoring? Or advanced tutoring? In which areas?*", | |
"Has the student ever been subject to major disciplinary action in any school? If so, please explain.*" | |
]; | |
var loadingForTextareaReplace = setInterval(function() { | |
if (typeof _qs$ !== "undefined" && _qs$(".qslabel").length) { | |
clearInterval(loadingForTextareaReplace); | |
qsTextAreas(); | |
} | |
}, 10); | |
function qsTextAreas() { | |
for (var i = 0; i < qsMatchLabels.length; i++) { | |
var label = qsMatchLabels[i]; | |
var input = _qs$(".qslabel:contains(" + label +")").next(".qsinput"); | |
if (input.length) { | |
input.html(input.html().replace("input", "textarea")); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment