forms\AddJob\SimpleForm::_markInputsAsRequired
Checks that a fieldset called $chosenOption exists under fieldset $pickerInputFilter, and marks all the inputs in that fieldset as required.
Example: Given this structure: - name - command - repeat \ picker (daily, weekly, monthly, yearly) \ weekly \ dayOfWeek \ monthly \ dayOfMonth [...] [...] For the given input filter associated to fieldset "repeat" and "weekly" as the chosen picker option, we only want repeat/weekly/dayOfWeek to be required, but not repeat/monthly/dayOfMonth.
Signature
protected function _markInputsAsRequired(InputFilter
$pickerInputFilter,
string
$chosenOption )
Parameters
Returns
- SimpleForm