Forums

Use name field into another custom field and also Joomla articles

deltafidesign 08 Oct, 2015
Hi, that's my case:

I would use Chronoform to let user fill in 3 fields as soon as it access the website (name, email, birthday). Then I want to use those fields to customize some parts of a Joomla article or even the same Chronoform field. I try to explain better with 2 examples

1) Chronoform form, multipage or tabbed
First step, user fill in the 3 main fields (name, email, birthday), then in the second page (or tab) I have a custom field with HTML code where I want to customize a message using the name, the email and the birthday values provided by the user.

2) Joomla Articles
After the user submits the form, I want to redirect him to a joomla article where the text is customized with those values. Example "Hi, {name} your email is {email} and your birthday is {birthday}, etc...etc...".
Maybe in this case I need some PHP code in Joomla articles to extract data per session of user after saving data of the form into a DB table? Or maybe ChronoConnectivity could do this (I don't know how it works...)?

Is that possible?
GreyHead 08 Oct, 2015
Hi deltafidesign,

ChronoConnectivity is used for listing records from a database table so that won't help here.

You can use PHP in a Custom Code element to do 'string' replacements in the way you suggest. Have you tried that?

Bob
This topic is locked and no more replies can be posted.