NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: agustinh2000 on June 26, 2014, 07:32:10 AM
-
Hello, I want to put a message (loc:alert) in a EIP (date) field, but it does not work, any ideas?
Thanks
-
Hi Augustin,
I'm not sure what exactly you mean. Are you saying that you'd like to do validation on the date field when it is entered, and if it is invalid then to display a message to the user to say that?
cheers
Bruce
-
yes, that same
-
so what exact code have you added to the Server-side? And where is it?
(hint: There's a Validation example you may want to look at for an idea of the code to enter, and where.)
cheers
Bruce
-
In Browse.
Validate EIP for Field
IF (condition)
loc:Invalid = 1
loc:alert = 'message'
END
-
I've made it a bit easier for build 8.18
The code you want is
If MAI:SizeLimit = ''
loc:Invalid = 'MAI:SizeLimit'
MAI:SizeLimit:IsInvalid = true
loc:alert = 'Bad, Bad User! Get it right next time!'.
End