Add new attribute to field
-
Tjena Fabian!
Thanks for this fantastic plugin! I am finally able to kill off Gravity Forms whichc is making our site slow to load because of this gem.
I have read through the documentation several times, especially this article: https://advancedforms.github.io/filters/forms/af-form-field_attributes/ but for the life of me I cannot make it work, adding an attribute to my <form> field.
Basically I just want to have “cf-form” added so that I can make this work with Conversational Forms from Space10 (https://space10-community.github.io/conversational-form/).
Right now I have:
<form class="af-form acf-form" method="POST" action="CURRENT_URL" id="form_5a2fb917a49ce">
And I would like to end up with:
<form cf-form class="af-form acf-form" method="POST" action="CURRENT_URL" id="form_5a2fb917a49ce">
Can you help me with the relevant code to get this done?
Thanks again for a great plugin!
CB
- The topic ‘Add new attribute to field’ is closed to new replies.