Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
16 replies
Subscribers
7 subscribers
Views
8642 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi I have a requirement where users want to enter an email address fo
paulc919
over 9 years ago
Hi
I have a requirement where users want to enter an email address for a document to be emailed to. They also want to have a second entry to confirm that the email address typed matches that in the first email address box.
Is there a way of preventing pasted values from being entered into a text box ?
As an aside, does anyone know if there is a way to validate if an email address exists ? Reason for asking is that we are getting a lot of miskeyed / incorrect email addresses being used resulting in failed delivery messages.
Many thanks
Paul
OriginalPostID-160236
OriginalPostID-160236
Discussion posts and replies are publicly visible
Top Replies
Stefan Helzle
over 9 years ago
+1
A Score Level 3
Preventing a user from pasting text would need some special JavaScript. This is not supported. Email address validation is special topic. You can do that using regular expressions. Google will help you…
0
Stefan Helzle
A Score Level 3
over 9 years ago
Some news from my side. Did a small test, sending an email to an invalid email address and as "From" I selected "Process". The error email was returned to the process instance and triggered my event.
So to sum it up: You can validate the address and handle returned error emails in a process. For example show the error to a user and let him modify the address.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
paulc919
over 9 years ago
I'm now picking this up and I've noticed the email validation routine seems to allow an @ as the last character which I would have thought is an invalid formatted email address ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 9 years ago
@Paul: Per Marco's suggestion, you need to read the thread he linked starting from the later comments - are you using the revised version I posted to address that same issue? It was my second-last comment in the thread.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 9 years ago
(The version Stefan posted a few days ago was slightly outdated - here's the corrected version since you indicated previously that you have difficulty accessing Pastebin)
Email Validation.sail
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 9 years ago
Sorry for that. Thanks a lot for sharing the code :-)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
paulc919
over 9 years ago
Thanks again all - very helpful ! :-)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<