I've installed the "CKFORMS" component in joomla, I wish to place the condition on radio button (YES/NO) whether it's checked to YES then your fields Name and surname will end up the required for that user.

I'm not sure how must i proceed further.

Help

Thanks ahead of time Dork

Finally I acquired the answer,

I've incorporated the Jquery within the ckforms, as well as on the submit button , added the snippet to see if radio button is checked or otherwise.

And when clicked on yes, then all jquery stuff to prevent the consumer (alert messages and boy on).

thanks