Creating conditional label or text field without input
-
Hello,
I looking for solution to display a message (special note) to the user if a given option selected. It should have the normal conditional logic, and if the option selected then it should display text or popup.
I found a code part in the render-fields.php which looks provided to have unique field, but i do not know how to create simple text filed. Is this hook can be used that? what about the variables, and is it possible to create a label which will be displayed if the condition meets?
The mentioned hook:
/**
* creating action space to render more addons
**/
do_action(‘ppom_rendering_inputs’, $meta, $data_name, $classes, $field_label, $options);Please let me know how it is possible. Thank you
- The topic ‘Creating conditional label or text field without input’ is closed to new replies.