I have a form with three form elements:
'#type' => 'radios'
element having two options (Yes or No),'#type' => 'submit'
&'#type' => 'checkbox'
When the user lands on the form page, he should only see the radios
element first and can see the checkbox
& submit
elements only if he selects an option from radios
element.
Is there a Drupal way to do this using the Form API?