I try to use Chronoforms for the Registration at my Site.
It works fine when i have no dynamic Field
But [b]when i try to use d_fname for the Name Field[/b]=> Registration dont work.
Even when i put it inside "Extra before onsubmit code:" at the Register Plugin i can't use [i]d_fname[/i] inside the Name Field
I have select (Run Before Email) if this make a difference,
i set it because i don't want to send out a E-Mail before Joomla check: if username or e-mail is already in use or not. Or did it check this anyway before send E-Mail?
When i use the code below inside the "On Submit code - before sending email"
and save Form to DB, or use it inside the E-Mail i have no Problem.
A other question who maybe is easier to answer is:
When i wish to set the default language for a new registered user i can do it by adding some code to the "Extra before onsubmit code:"?
something like:
Hope someone can help me. Thanks for every help i get.
It works fine when i have no dynamic Field
But [b]when i try to use d_fname for the Name Field[/b]=> Registration dont work.
Even when i put it inside "Extra before onsubmit code:" at the Register Plugin i can't use [i]d_fname[/i] inside the Name Field
I have select (Run Before Email) if this make a difference,
i set it because i don't want to send out a E-Mail before Joomla check: if username or e-mail is already in use or not. Or did it check this anyway before send E-Mail?
When i use the code below inside the "On Submit code - before sending email"
and save Form to DB, or use it inside the E-Mail i have no Problem.
<?php
$title = JRequest::getString('title', '', 'post');
$f_name = JRequest::getString('f_name', '', 'post');
$l_name = JRequest::getString('l_name', '', 'post');
$d_fname = "$title $f_name $l_name";
JRequest::setVar('d_fname', $d_fname, 'post');
?>
A other question who maybe is easier to answer is:
When i wish to set the default language for a new registered user i can do it by adding some code to the "Extra before onsubmit code:"?
something like:
$user->set('language', 'DE')
Hope someone can help me. Thanks for every help i get.
Hi grafik,
If you have one of the latest ChronoForms releases you can use the 'Extra before Registration code' in the Joomla Registration plugin. This runs before the Registration is done regardless of the E-mail flow.
Bob
If you have one of the latest ChronoForms releases you can use the 'Extra before Registration code' in the Joomla Registration plugin. This runs before the Registration is done regardless of the E-mail flow.
Bob
Hi Bob
thanks. after upgrade from V3.1 RC5 to V3.1 RC5.3 Dynamic Name works for Registration too. 😀
an i don't have to change something, because "Extra before onsubmit code:" becomes "Extra before Registration code" 😀 🤔
This is Great (it works, and a few other little things have positive! changed too)
Can someone help with second question (set frontend language for new registered user with chronoforms. Multilanguage Site with Joomfish)
greetings out of Switzerland
grafik
thanks. after upgrade from V3.1 RC5 to V3.1 RC5.3 Dynamic Name works for Registration too. 😀
an i don't have to change something, because "Extra before onsubmit code:" becomes "Extra before Registration code" 😀 🤔
This is Great (it works, and a few other little things have positive! changed too)
Can someone help with second question (set frontend language for new registered user with chronoforms. Multilanguage Site with Joomfish)
greetings out of Switzerland
grafik
This topic is locked and no more replies can be posted.