Home › Forums › Feature Requests › Better way to add long descriptive labels for fields › Reply To: Better way to add long descriptive labels for fields
Fixed this by creating my own custom acf field. the new custom field gets a field name and does get_field(“myfieldname”) on the render_field() function. This shows any field entered to render into the edit section. I could have a wysiwyg show up as long fancy instructions for the user to read. Better way to work up a sign up form with fancy text or a popup terms and agreement. the only thing left now is to hide the labels which I can easily do with css.
function render_field( $field ) {
$id = $field['field_idname'];
if(get_field($id,'options')){
echo get_field($id,'options');
}
}
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.