You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would need a form that has
a radio input with three options
opt1
opt 2
opt 3
One of 3 options must be selected.
If the user selects option 1 he must supply data A
if the user selects option 2 he must supply datum B and C
if the user selects opz 3 he must provide datum D and E
My problem is not being able to define that radio input is required.
If I use addRequiredGroup on #tipologia I get an error because inside the element there are inputs other than checkboxes and radios...
I have tried putting inputs A, B, C, D, E inside the labels but nothing changes.
Can anyone help me?
Thank you
The text was updated successfully, but these errors were encountered:
Diielle
changed the title
Radio with inside input
Radio input required and other inputs
Jan 26, 2024
Hello everyone,
I would need a form that has
a radio input with three options
One of 3 options must be selected.
If the user selects option 1 he must supply data A
if the user selects option 2 he must supply datum B and C
if the user selects opz 3 he must provide datum D and E
Something like this:
My problem is not being able to define that radio input is required.
If I use
addRequiredGroup
on#tipologia
I get an error because inside the element there are inputs other than checkboxes and radios...I have tried putting inputs A, B, C, D, E inside the labels but nothing changes.
Can anyone help me?
Thank you
The text was updated successfully, but these errors were encountered: