Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Custom Group Fields not storing if you go to previous step

@prashantvatsh

Participant

Hi,

It’s because you forgot to use this function https://prnt.sc/ohpc6z

You have created it but have not used it. It returns the value of saved meta.

So now you have to replace this line:


<textarea name="group-guidelines" id="group-guidelines" aria-required="true"></textarea>

with this


<textarea name="group-guidelines" id="group-guidelines" aria-required="true"><?php echo custom_field('group-guidelines'); ?></textarea>

and this line:

<textarea name="group-aims" id="group-aims" aria-required="true"></textarea>

with this

<textarea name="group-aims" id="group-aims" aria-required="true"><?php echo custom_field('group-aims'); ?></textarea>

Thanks

Skip to toolbar