Hi,
I’m trying to create a Register page using the Login module with custom fields.
I want create a radio button with two possible values, e.g.:
<input type="radio" name="customField:required" value="valueOne" />
<input type="radio" name="customField:required" value="valueTwo" />
I want this to submit to the user profile, so I can output [[+customField]] there with one of the above values.
However, the only way I know of, right now, to create an extended field on a page with the [[!Register]] snippet is as follows:
<input type="text" name="customField:required" value="[[+customField]]" />
But doing this doesn’t submit a value at all:
<input type="radio" name="customField:required" value="[[+valueOne]]" />
<input type="radio" name="customField:required" value="[[+valueTwo]]" />
The form simply won’t submit. It treats the value attributes as empty.
Any suggestions would be greatly appreciated. Thanks!