I create a simple form with field
nome
cognome
username
email
password
password2 (confirm password)
name (hidden field)
When user click submit form do this actions
custom code:
<?php
$form->data['name'] = $form->data['nome'].' '.$form->data['cognome'];
?>
and after i use the joomla registration action to complete registration.
The problem is (i found this message using event loop when registration fails):
System say "insert your name". I check the value of the field and is correct and if i submit the same form second time (after reloading)works.
Any idea ?
nome
cognome
username
password
password2 (confirm password)
name (hidden field)
When user click submit form do this actions
custom code:
<?php
$form->data['name'] = $form->data['nome'].' '.$form->data['cognome'];
?>
and after i use the joomla registration action to complete registration.
The problem is (i found this message using event loop when registration fails):
System say "insert your name". I check the value of the field and is correct and if i submit the same form second time (after reloading)works.
Any idea ?