Plugin Author
Rinat
(@rinatkhaziev)
Hey Dean,
Can you install https://ww.wp.xz.cn/plugins/post-meta-inspector/ and screeshot/paste what you see here?
Hi Rinat,
for the simple form below, I get this
Key Value
_edit_lock '1469485807:1'
The form
[fu-upload-form suppress_default_fields="true" form_layout="post_image" append_to_post='true' category='2']
[checkboxes values="value:Description,124:Banana,cherry:Cherry"]
<div class="g-recaptcha" data-sitekey="hidden_key_data_here"></div>
[input type="submit" class="btn" value="Submit"]
[/fu-upload-form]
Thanks,
Dean
Plugin Author
Rinat
(@rinatkhaziev)
it seems that your shortcode is missing name argument, it should be something like
[fu-upload-form suppress_default_fields="true" form_layout="post_image" append_to_post='true' category='2']
[checkboxes name="my_meta_key" values="value:Description,124:Banana,cherry:Cherry"]
<div class="g-recaptcha" data-sitekey="hidden_key_data_here"></div>
[input type="submit" class="btn" value="Submit"]
[/fu-upload-form]
Thank you. That fixed it so checkboxes show up in Post Meta Inspector:
Key Value
my_name 'John Smith'
test_checkboxes 'a:1:{i:0;s:9:"agreement";}'
But then that field does not show up in the post as a custom field. Whereas your other fields like text and select dropdown do show up as custom fields after I submit the form.
How do I get checkboxes to show up as a custom field after form submission?
Thanks,
Dean
Hi Rinat,
To get checkbox data to show up on my post page, do I need to use a plugin like MetaBox?
https://metabox.io/docs/getting-started/
What would you recommend?
Best,
Dean