Hi all
I'm at work with a new joomla user registration form using chronoforms.
Everything works well, but I have an answer:
if in my new registration form there are 2 fields like "name" and "family_name", can I send these 2 fields to "Name field name" of Joomla User Registration function?? (e.g. could be something like "name"&"family_name").
I tried to put "name family_name", just with a space, and it doesn't work.
Thanks in advanced,
Antonio
I'm at work with a new joomla user registration form using chronoforms.
Everything works well, but I have an answer:
if in my new registration form there are 2 fields like "name" and "family_name", can I send these 2 fields to "Name field name" of Joomla User Registration function?? (e.g. could be something like "name"&"family_name").
I tried to put "name family_name", just with a space, and it doesn't work.
Thanks in advanced,
Antonio
I'm no where near a pro at this and haven't been using CFv4 all that long. I hope this will point you to the right direction. Again not a pro so I have not tested this out.
I believe you can try this PHP code on submit and see if it works for you.
I believe you can try this PHP code on submit and see if it works for you.
$fullname = ''; // full name field
$fullname = $_POST['name1']." ". $_POST['family_name'];
<input name="name" type="hidden" value="<?php echo $_GET['$fullname'] ?>" />
Hi totolabs ,
Hmmm silentcid's answer is close but I don't think it will quite work. Please try this in a Custom Code action before the Joomla! User Registration action.
Bob
Hmmm silentcid's answer is close but I don't think it will quite work. Please try this in a Custom Code action before the Joomla! User Registration action.
<?php
$form->data['name'] = $form->data['name1']." ".$form->data['family_name'];
?>
Bob
This topic is locked and no more replies can be posted.