Generating an email address from first and last name
The email writes itself from the name
First and last name typed, the address is already there – lowercase, with a dot, umlauts spelled out.
What it's about
- Special Field Option on Email: “Automatically generate value from first name / name”, spaces replaced with a dot.
- Mary Ann + Walker → mary.ann.walker; the domain is fixed in the box content.
- The field stays editable.
- It only works with the variable names Firstname/Lastname (or Vorname/Nachname) – FirstName does not.
Transcript
Click a timestamp to jump to that point in the video.
- The buyer types a first and last name. The email address writes itself from them – lowercase, with a dot in between.
- That's a Special Field Option on the field Email: Automatically generate value from first name, name. It reads the fields Firstname and Lastname and writes everything in lowercase. It replaces spaces with the character you choose – here, a dot.
- The domain is fixed in the box content, right after the field.
- In the back end, open the template's Special Field Options and pick the variable Email. In the search field, first name is enough. The option is switched on, and the character for spaces is a dot.
- And in the layouter, in the box Contact, there's the second line: the field Email, followed by the fixed domain.
- Good to know: the field stays editable. If a mailbox is named differently, the buyer simply corrects the address. And name your fields Firstname and Lastname, exactly like that. The option only knows a few name pairs – with these, it's tested.
- Here's how it looks live.
- The address is right before the buyer even touches it.