NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
loc:alert / Invalid message display options?
« previous
next »
Print
Pages: [
1
]
Author
Topic: loc:alert / Invalid message display options? (Read 3115 times)
JohanR
Sr. Member
Posts: 375
loc:alert / Invalid message display options?
«
on:
June 05, 2013, 10:39:18 PM »
Hi,
What options are available for the display of the loc:alert invalid message?
1) Popup message
2) At top of form (this causes all fields to move down when the message is displayed)
Are there any options where the invalid message appears next to the field?
thanks
Johan
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: loc:alert / Invalid message display options?
«
Reply #1 on:
June 05, 2013, 11:09:28 PM »
yes. this is in the comment field. So typically put validation information in the comment (ie information to the user on what you are expecting) and the class for the comment will change for invalid fields.
Logged
JohanR
Sr. Member
Posts: 375
Re: loc:alert / Invalid message display options?
«
Reply #2 on:
June 06, 2013, 12:34:12 AM »
Hi Bruce
Is there a way to achieve the following via the current template?
When the form opens, no comments are displayed.
If any validation fails, then the comment field will display the error message.
thanks
Johan
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: loc:alert / Invalid message display options?
«
Reply #3 on:
June 06, 2013, 05:34:16 AM »
maybe - try set the comment field to loc:alert.
you might need to play around a bit, but if the comment is a variable, you can set the variable to anything you like.
cheers
Bruce
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
loc:alert / Invalid message display options?