NetTalk Central

Author Topic: E-Mail address validation  (Read 3935 times)

rupertvz

  • Sr. Member
  • ****
  • Posts: 326
    • View Profile
    • Email
E-Mail address validation
« on: October 10, 2011, 01:39:19 PM »
Hi Guys,

In a NetWebForm (wizard) with field for e-mail address.
Is there any way to validate an e-mail address (for example the @ sign)?

linas@debetas.lt

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Re: E-Mail address validation
« Reply #1 on: October 10, 2011, 04:03:00 PM »
hi,

for this purpose I build a function where I pass the value and in it I check for @ and other logic and it returns me Good or Not is email.

rupertvz

  • Sr. Member
  • ****
  • Posts: 326
    • View Profile
    • Email
Re: E-Mail address validation
« Reply #2 on: October 10, 2011, 10:39:28 PM »
What embed did you use?  How do you stop the tab-progression, if the e-mail address is incorrect?

Ubaidullah

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: E-Mail address validation
« Reply #3 on: October 11, 2011, 11:32:26 AM »
Hi,

You can use the ValidateValue::PRE:Field routine, where PRE:Field is your field name. As for disabling the tab progression, you could make them read-only if the validation fails.

Regards,
Ubaidullah Nubar.

rupertvz

  • Sr. Member
  • ****
  • Posts: 326
    • View Profile
    • Email
Re: E-Mail address validation
« Reply #4 on: October 11, 2011, 01:33:00 PM »
Thanks Ubaidullah,
I managed to incorporate the check-condition into the ValidateValue for the e-mail field.

Do you mean that I should make the "tabs" read-only to disable the tab-progression?