Sales
Oculus Photonics LLP
2542 Mesa School Lane
Santa Barbara, CA 93109
Sales and Applications:
Dr. Austin Richards
805.284.5757 t
805.685-2711 f
Contact Us
badfields=arraynew(2);
showform = 1;
if (isdefined("form.first") AND len(trim(form.first)))
first = trim(form.first);
else {
arrayAppend(badfields[1], "first");
arrayAppend(badfields[2], "Please fill in your first name.");
first = "";
}
if (isdefined("form.last") AND len(trim(form.last)))
last = trim(form.last);
else {
arrayAppend(badfields[1], "last");
arrayAppend(badfields[2], "Please fill in your last name.");
last = "";
}
if (isdefined("form.number") AND len(trim(form.number)))
last = trim(form.number);
else {
arrayAppend(badfields[1], "number");
arrayAppend(badfields[2], "Please fill in your phone number.");
last = "";
}
if (isdefined("form.company") AND len(trim(form.company)))
company = trim(form.company);
else {
arrayAppend(badfields[1], "company");
arrayAppend(badfields[2], "Please fill in your company.");
company = "";
}
if (isdefined("form.question") AND len(trim(form.question)))
question = trim(form.question);
else {
arrayAppend(badfields[1], "question");
arrayAppend(badfields[2], "Please fill in your question");
question = "";
}
if (isdefined("form.email") AND len(trim(form.email)))
email = trim(form.email);
else {
arrayAppend(badfields[1], "email");
arrayAppend(badfields[2], "Please fill in your email address");
email = "";
}
if (not arrayLen(badfields))
showform = 0;
#form.first#
#form.last#
#form.number#
#form.company#
#form.email#
#form.question#
Thank you for your inquiry.
badfields = arrayNew(2);
showform = 1;
first = "";
last = "";
number = "";
company = "";
question = "";
email = "";
| Please make sure you
fill in this information too: |
| • |
#badfields[2][i]# |
|