I have a form with drop downs populated with categories. The only problem is that when I go to edit that entry the first drop down is always blank. http://qualitymining.com/add-quote/
WordPress Forms
I have a form with drop downs populated with categories. The only problem is that when I go to edit that entry the first drop down is always blank. http://qualitymining.com/add-quote/
Formidable Pro has the most user intuitive interface I have ever seen.
Justin Germino (Dragon Blogger)I looked at Gravity Forms, Contact Forms 7 and Formidable before settling on Formidable Pro. Aside from having a lot of features I was looking for and being pretty easy to deal with, the 2 things that won Formidable for me in the end was having a free version that I could try and the tremendous support that Steph provided @ strategy11.com forums before I was even a customer.
Alex Kelly (Dublin Robotics)Copyright © 2013 Strategy11, LLC
October 11, 2012 at 10:17 am
Can you please attach a screenshot of your "Create posts" settings tab? Which field is having trouble?
October 11, 2012 at 10:48 am
Attached. The field is the "Quote Status" drop down. This happens particularly when I choose "sale" and then save.
Attachment:

October 11, 2012 at 10:58 am
Maybe you can try a small change? It looks like the problem is that you are using multiple fields for the same category. Can you please open formidable/pro/classes/models/FrmProEntry.php
Around line 320ish you'll find this:
if ( is_array($taxonomy) )
$tags = array_keys($tags);
Change the first line to:
if ( is_taxonomy_hierarchical($taxonomy) )
October 11, 2012 at 11:10 am
I found it on line 309 and changed it. I duplicated the issue and it is still a problem. Is there a way within formidable to "populate" checkboxes with categories?
October 11, 2012 at 11:20 am
It looks like this is a duplicate of your previous post.
http://formidablepro.com/help-desk/editing-a-post-resets-my-category/
Can you please provide access info there?
October 11, 2012 at 11:24 am
My apologies, I thought I didn't publish that one. I'll go there and give you the login details.
October 24, 2012 at 11:10 am
Since this topic is public, I'll post the fix here as well. This will be included in the next release.
Change lines 293-296 in formidable/classes/helpers/FrmFieldsHelper.php from:
$selected = is_array($field['value']) ? reset($field['value']) : $field['value'];
$exclude = (is_array($field['exclude_cat'])) ? implode(',', $field['exclude_cat']) : $field['exclude_cat'];
$exclude = apply_filters('frm_exclude_cats', $exclude, $field);
to:
$exclude = (is_array($field['exclude_cat'])) ? implode(',', $field['exclude_cat']) : $field['exclude_cat']; $exclude = apply_filters('frm_exclude_cats', $exclude, $field); if(is_array($field['value'])){ if(!empty($exclude)) $field['value'] = array_diff($field['value'], explode(',', $exclude)); $selected = reset($field['value']); }else{ $selected = $field['value']; }October 29, 2012 at 3:06 pm
Thank you very much! Works perfectly now. Your support is over the top!
Topic closed.