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 with rwmb_{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!