General developer forum

Form elements in form elements

Gareth J Barnard
Re: Form elements in form elements
Core developersParticularly helpful MoodlersPlugin developers


After many hours I found out that its impossible to have a Form group within a form group in the Moodle forms API and standard HTML markup does not allow elements within radio inputs.  I've gone for a checkbox / radio solution with disabledIf logic.  It did find out though that disabledIf does not work well with two radio groups within an addGroup.  All being well when the job is done the code will be within a plugin on for all to see.



Average of ratings: -