CF: Re your quote above - "I have not yet tackled the EMail issue"
I have a solution that works:
Running on the same technique as the strError = strError you provided and using the emailfield function (placed in the inc_func_member.asp)kindly provided by ruirib
function EmailField(fTestString)
set regEx = New RegExp
regEx.Global = true
regEx.IgnoreCase = true
regEx.Pattern = "^[A-Z0-9._%-]+@(?:[A-Z0-9-]+\.)+[A-Z]{2,4}$"
retVal = regEx.Test(fTestString)
set regEx = nothing
if Not retVal Then
EmailField = 0
Else
EmailField = 1
end if
end function
If you add this line with the other error strings, in greeting_cards_preview.asp it seem to serve the purpose:
if EmailField(frommail) = 0 then strError = strError & "Enter an e-mail address in the syntax form username *@domain.co.uk<br>"
regards andy
edit *added to parse email quote<