If you have the same field name in multiple field groups, and you’re using a custom pulldown, the plugin has trouble telling one from the other. For example, if you have a field called “app_legal” in two different field groups, this code won’t reliably return the right value:
“If you have multiple Sites where each site has a custom field with the same, exact short name, then you can specify that short name (without the site specified) and ExpressionEngine will treat those two fields as the same value and be able to order them as if they were the same field.”
I’ve tested this out a bit, and cannot seem to duplicate any issue.
Could you go a little more indepth about where this is happening and what is happening, etc?
Create blog1 on site 1. Use fieldgroup 1. Create a pull-down field called “mailing-list” with values YES, NO, MAYBE
Create bog2 on site 2. Use a new fieldgroup 2. Create (on site 2) a new pull-down field called “mailing-list” with values SURE, NOPE, WHATEVER
Now, using form helper, set up a form to allow you to edit the values of mailing-list. The contents of that list will be confused, and none will appear selected even if one actually is selected in your entry.
Pie Man, if thru MultipleSiteManager you CAN have same field_names then
i would see a problem on line 158 of form_helper(1.9). It looks like
it doesn’t check for site_id, does it?
$query = $DB->query("SELECT field_id FROM exp_weblog_fields WHERE field_name = '$field_name'");
I realize you probably follow EllisLab’s policy of not giving estimates of software releases, but I’m going to ask anyway: Do you have a rough estimate of when Form Helper will be MSM-aware?
I stupidly built an entire project for a client based on the assumption that it wouldn’t be a problem, and now I’m faced with having to tell them we need to find another way unless I can get a new version soon.