PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom Fields Not Updating

  1. I have a Custom Field style field that's a Radio Button type [ screenshot http://l.ssktn.com/8QDc ] which ends up putting a field in the DB with a meta_key under licensed of either a 0 or 1.

    When I try and pull that info into the single post page looks like this [ screenshot if below doesn't work http://l.ssktn.com/ByNq ] :

    <?php $mylicensed = get_post_meta($post->ID,'licensed',true);
    					if ($mylicensed == 1) {
    					echo "No";
    					} elseif ($mylicensed == 0) {
    					echo "Yes";
    					} else {
    					echo "Contact for Details";
    					}
    					?>

    But when the client goes into the WordPress backend and tries updating the details on the post and changes it to the opposite (0 or 1) it doesn't actually save the updated change. They click update on the post and/or update on the custom field - it doesn't save. [ screenshot http://l.ssktn.com/bhTB ]

    Posted 12 years ago on Monday January 9, 2012 | Permalink
  2. I should add that I've using the WooThemes Listings template which I gather a lot of people end up finding Gravity Forms after realizing the limitations of Listings for submissions.

    While I realize this isn't the WooThemes support site, is it bad/good/ugly if you have a custom field defined in Listings' Content Builder AND in a Gravity Forms field? That seems to be the only way to update the field properly is if I use the Listings' Content Builder to say that there's a custom field .

    Posted 12 years ago on Monday January 9, 2012 | Permalink
  3. Editing the entry in the Gravity Forms entry admin will not update any published post. Is that what you're expecting to happen?

    Posted 12 years ago on Wednesday January 11, 2012 | Permalink
  4. No - sorry. I'm not being very clear. (not enough coffee?)

    When I'm editing the custom fields in the post itself the fields don't save / update.

    Posted 12 years ago on Wednesday January 11, 2012 | Permalink
  5. When you edit the custom field in the post, that is completely separate from Gravity Forms. I am not sure why they are not updating there. Can you delete and re-add the field? It's not related to Gravity Forms, I don't think.

    Posted 12 years ago on Wednesday January 11, 2012 | Permalink