rinatkhaziev / wp-frontend-uploader

WordPress plugin that allows your visitors to upload media from the front-end
53 stars 52 forks source link

Using Radio Buttons #72

Open Nixinoo opened 7 years ago

Nixinoo commented 7 years ago

I can get the radio buttons to show in the form however the selection doesn't appear in the Manage UGC to differentiate what category the user has selected. I'm new too

rinatkhaziev commented 7 years ago

Hi,

Can you post the shortcode you're using? Given your shortcode is valid, values will be saved as post meta. I recommend https://wordpress.org/plugins/post-meta-inspector/ to see if the meta data is stored properly.

Nixinoo commented 7 years ago

Hi,

Here is the code I am trying to use, UX okay but I cannot see the info relating to the radio buttons come through in the Manage UGC to determine which comp the uploads relate to.

[fu-upload-form suppress_default_fields="true" class="your-class" title="Upload your photos and WIN"] [radio name="foo" class="checkboxes" description="Pick a Competition" values="value:Description,comp1:Best Hair,comp2:Best Pic"] [input type="text" name="post_title" id="title" class="required" description="NAME"] [textarea name="post_content" class="textarea" id="ug_caption" description="DETAILS"] [input type="file" name="photo" id="ug_photo" class="required" description="Your Photo" multiple="multiple"] [input type="submit" class="btn" value="Upload Photo"] [/fu-upload-form]

Thank you