- This topic has 1 reply, 2 voices, and was last updated 1 year, 3 months ago by .
-
Topic
-
I’m having w/this: I want to dynamically change form field attributes on a Frontend Submission form. I mean fields, not the shortcode attrs like “post_title” etc. I’m making metaboxes with MB builder.
Using action
rwmb_frontend_before_form
I am able to set field default values withrwmb_{fieldid}_field_meta
filter.BUT I also want to change “required” & “placeholder” , and conditionally remove some fields.
I tried using the
rwmb_normalize_{fieldid}_field
filter but it doesn’t work. Maybe I’m thinking of this wrong.Can you please suggest how I can conditionally remove fields on a FES form, and change field placeholder/required attributes?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.