NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: obenjamin on February 08, 2009, 02:16:55 AM
-
Hi Guys
I need assistance with Alert messages - i have the exact code as the nettalk example in the exact place - but the alert just won't show on my side.
I require Alert messages based on Information entered on a form on the SAVE button.
Any ideas or workarounds
Thanks
Oscar Benjamin
-
Hi Oscar,
The best idea is to post a small example of what you are doing here.
It's hard for anyone to offer advice, or correct you, if we don't know what you are doing.
Cheers
Bruce
-
Oscar,
If I guess your problem right, try this in the Validate All routine under 1 Start:
if l:DateofLoss > l:DateNotified
loc:invalid = 'l:dateofloss'
p_web.SetValue('retry','RegisterClaimWeb')
loc:Alert = 'The Date of Loss cannot be greater than the Date Notified.'
elsif today()-31 > l:DateofLoss
loc:invalid = 'l:dateofloss'
p_web.SetValue('retry','RegisterClaimWeb')
loc:Alert = 'The Date of Loss must fall within the last month.'
elsif l:ContactTel = '' and l:ContactFax = '' and l:ContactCell = ''
loc:invalid = 'l:ContactTel'
p_web.SetValue('retry','RegisterClaimWeb')
loc:Alert = 'At least one contact no must be supplied.'
else
blablabla
.
This example should be self explanatory. If this is not what your looking for follow Bruce's advice.
Cheers
Charl