You are viewing limited content. For full access, please sign in.

Question

Question

Help adding email suffix to the end of text field

asked on December 5, 2019

I'm trying to automatically populate an email suffix to the end of a text field. Our users keep adding the wrong one to the field. Is there a way to automatically add the "@gmail.com" so all they have to do is enter the first part of the email address? If possible it would be nice if they can't delete the correct suffix. (it isn't actually @gmail.com. This is an example). 

 

Our issue stems from them entering the wrong suffix and then the form suspends.

0 0

Answer

SELECTED ANSWER
replied on December 5, 2019

What you can do is create two text fields, one called Username and the other called Email (or whatever you would like). Have Username showing and instruct users to fill in their name as it appears in their email "Jared.Rechnitz". 

For Email, set up a calculation in the field configuration =CONCATENATE(Username,"@gmail.com")
This will save the Email field as Jared.Rechnitz@gmail.com by hardcoding the gmail part. 

You can choose to hide the Email field if you want this to take place behind the scenes, or you can show it as a read-only field if you don't want users to change it. You can then use Email anywhere else in your process. 

6.4.1
0 0
replied on January 29, 2020

This is what I am going to do. I talked with our provider and they suggested a similar solution based on a lookup rule. It looks like we will still need two fields. Your solutions is the cleaner of the two. Thank you.

0 0

Replies

replied on April 13, 2022

Is this still the solution in Forms 11? If not, what is it? Thank you.

0 0
replied on April 15, 2022

Hi Sandy,

This solution works with Forms 11 as well, please see below on how to achieve this.

 

username input field with variable as Single_Line

 

Concatenated Email field with concatenate function referencing Single_Line variable from the above field.

0 0
replied on April 15, 2022

That works! Thank you!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.