Its possible show/hide selected option in a form?

its possible show/hide selected option in hivepress form?
or with checkbox or anything

echo ( new HivePress\Fields\Select(
	[
		'name'     => 'custom_field',
		'label'    => 'Custom field',
		'required' => true,

		'options'  => [
			'one'   => 'One',
			'two'   => 'Two',
			'three' => 'Three',
		],
	]
) )->render();

Hi,

If you add these options in code, you can simply not add the options you don’t need. If you need another solution, please provide more details and we will try to help.

hi thanks for the replay,
for this I have found the answer,
to modify the form
by injecting custom fields in the form /includes/fields folder,
to be able to use custom js onchange/onclick scripts
this a little hurts,
and I want to close this threds but can’t…
closed…
thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.