0

I've added in custom fields for joomla registration, however it's returning them as Invalid Fields?

$requestData = $this->input->post->get('jform', array(), 'array'); echo '<pre>';print_r($requestData);echo '</pre>'; Array ( [name] => testing [username] => testing [password1] => testing [password2] => testing [email1] => [email protected] [email2] => [email protected] [com_fields] => Array ( [country] => Australia [australian-state] => Victoria [are-you-a] => Array ( [0] => Pre-service teacher ) [how-did-you-hear-about-forestlearning] => Array ( [0] => Schools association ) ) ) Invalid field: Country * Invalid field: Australian State Invalid field: Are you a * 

These are fields I have added into Users -> Fields, and display fine on the form. Any ideas?

Joomla version 3.9.18

1
  • Thank you for linking your Stack Exchange accounts -- I don't know when you did that, but once upon a time they were unassociated. I hope that we will see you at a future Australian JUG Meetup. MJUG doesn't currently have their future events listed, but our Brissie Meetup shows the next few Zoom Meetup dates -- no topics announced yet, but always the 3rd Tuedays of every month and open to all. Commented May 26, 2020 at 7:53

1 Answer 1

0

Ok it was the permissions for each new profile field, I set them to be allowed and it now saves.

1
  • This answer was auto-flagged by the system for being low-quality based on its length/content. Could you perhaps expand on this answer to articulate exactly what you did to remedy the issue? A screenshot? Link to documentation? There will surely be less experienced Joomla users who would appreciate a more generous answer. Cheers. Commented May 26, 2020 at 7:39

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.