Forums

Combine fields for e-mail

matself 11 May, 2009
Hi!

Please forgive if this has been asked before, and direct me to the solution.

Else ReadOn

I am a relative beginner at Joomla, and I am using the 'free' version of ChronoForms ChronoForms J1.5.
I have managed to create a simple members submissions form, as well as an imported complicated evaluation form.
Everything works well, but fails on one point.
I am asking respondents to fill in their forename and surname separately, for register reasons, and would like to concatenate them in the dynamic fromname field. I have tried different syntaxes, with + or &, with or without curly brackets but failed so far. If I put in more than one field name, the FromName goes blank. Dynamic FromEmail works.
Is this at all possible, and if so, how should it be done?
I might add that contrary to what the help text says, the wizard offers no help in picking fields from the form. But that is no big issue, the problem is the construction of the FromName string.
Regards, Mats.E
GreyHead 11 May, 2009
Hi matself,

Please try [forumsb]firstname +lastname[/forumsb] This will find you several threads with solutions.

Bob

PS I stongly suggest that you do not use the Dynamic From Email field
matself 11 May, 2009
Hi Greyhead!

Well looking for firstname+lastname did produce some interesting suggestions.
More than forename+surname which was my syntax.

But just to see that I have grasped this: The solution cannot be achieved in the Wizard, but requires additional coding, right?

But before I go there, please elaborate on your advice: Why should I not use the Dynamic FromEmail field?
When should it be used?
Is the Dynamic FromName field OK to use?
Max_admin 12 May, 2009
Hi Mats.E,

Yes, this needs additional coding outside the wizard!

the field dynamic from email can be used but some ISPs or servers may check the email origin and headers and may block the email or drop it or mark as spam because of from email + origin, this happens at some cases and it works fine at other cases!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.