/** * Tests passed value to see if it is a valid e-mail address (supports subdomain nesting and new top-level domains). * Update by David Kearns to support ' * SBrown@xacting.com pointing out regex still wasn't accepting ' correctly. * * @param str The string to check. (Required) * @return Returns a boolean. * @author Jeff Guillaume (jeff@kazoomis.com) * @version 2, August 15, 2002 */ function IsEmail(str) { //supports new top level tlds if (REFindNoCase("^['_a-z0-9-]+(\.['_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*\.(([a-z]{2,3})|(aero|coop|info|museum|name))$",str)) return TRUE; else return FALSE; } /** * IsFloat() determines if a number is a float or whole number. Returns true for float. * Version 2 by RCamden (ray@camdenfamily.com) * * @param eInt Number to check (Required) * @return Returns a boolean. * @author Phillip Holmes (pholmes@mediares.com) * @version 1, April 22, 2003 */ function isFloat(eInt) { return (find(".",eInt) gt 0) and isNumeric(eInt); } INSERT INTO GiftCert (Amount,FirstName,LastName,Address1,Address2,City,State,Zip,recFirstName,recLastName,recAddress1,recAddress2,recCity,recState,recZip,email,cardType,CardNum,CardMonth,CardYear,RespID,message,giftTo,GiftFrom,Comments,dateCreated) VALUES (#GiftCert#,'#FirstName#','#LastName#','#Address1#','#Address2#','#City#','#State#','#Zip#','#recFirstName#','#recLastName#','#recAddress1#','#recAddress2#','#recCity#','#recState#','#recZip#','#email#','#CREDITCARD_TYPE#','#right(creditCard_number,4)#','#CREDITCARD_EXP_MONTH#','#CREDITCARD_EXP_YEAR#','#reference_num#','#message#','#giftTo#','#GiftFrom#','#Comments#',current_timestamp) Amount: $#GiftCert# Purchasers Information: FirstName: #FirstName# LastName: #LastName# Address: #Address1# #Address2# #City#, #State# #Zip# Email: #Email# Recipient's Information: FirstName: #recFirstName# LastName: #recLastName# Address: #recAddress1# #recAddress2# #recCity#, #recState# #recZip# Presented to: #giftTo# From: #GiftFrom# Special Instructions or Comments: #Comments# Credit Card: #CREDITCARD_TYPE# X#right(creditCard_number,4)# #CREDITCARD_EXP_MONTH#/#CREDITCARD_EXP_YEAR# Hoshall's Hair Salon and Beauty Spa Gift Cards
Hoshall's Salon & Spa

Intercoiffure

Hoshall's Salon & Spa

Day Spa Salon Gift Cards

Give a Beautifully Packaged GIFT Certificate.

There was an problem with your order. Please lo ok below, correct the error and then submit your order again.
Please enter a valid gift certificate amount. Example: 2500.95
Gift Certificate Amount: $
 
Information to be printed on Gift Certificate
Presented to:
From:
   
Purchasers Information (Required)
Please enter a First Name
First Name:
Please enter a Last Name
Last Name:
Please enter an Address
Address:
 
Please enter a City
City:
Please enter a State
State:
Please enter a Zip
Zip:
Please enter a valid Email
Email:
 
Recipient's Information (if different from above)
Please enter a First Name
First Name:
Please enter a Last Name
Last Name:
Please enter an Address
Address:
 
Please enter a City
City:
Please enter a State
State:
Please enter a Zip
Zip:
   
   
Card Type:
Please enter a valid Credit Card Number
There was a problem with your Credit Card Number information:
#message#
Card Number:
Exp. Date:
   
Special Instructions or Comments:
 
Shipping: Please allow 5 business days.
All gift certificate sales are final.
Your order has been processed.
You will be getting your gift certificate in the mail soon.
Gift Certificate Amount: $#GiftCert#
   
Information to be printed on Gift Certificate
Presented to: #giftTo#
From: #giftFrom#
   
Purchasers Information
First Name: #firstName#
Last Name: #LastName#
Address: #Address1#
  #Address2#
City: #City#
State: #STATE#
Zip: #zip#
Email: #Email#
   
Recipient's Information
First Name: #recfirstName#
Last Name: #recLastName#
Address: #recAddress1#
  #recAddress2#
City: #recCity#
State: #recSTATE#
Zip: #reczip#
   
Card Type: #creditcard_type#
Card Number: X #right(creditCard_number,4)#
Exp. Date: #creditcard_exp_month#/#creditcard_exp_year#
 
Special Instructions or Comments: #comments#