Hey Ted, I met you at the Florida DrupalCamp last year. I’m looking forward to going again next month. Thanks for your great module. I’ve been using your newly implemented Conditionally Mandatory feature and loving it.
However, when I updated to the Jan. 13th dev version the conditional rules stopped working on a web form that I had been using with the conditional module for a while. The symptom is that all of the fields are no longer available in the component drop down selection. On the previous dev version they were there.
I traced the problem to the fact that the missing fields have a weight ($row['weight'] ) of less than zero. All negative weighted fields have disappeared from the selection choices of the component selector.
I was able to resolve this by change the default value of $prePageBreakWeight from -1 to -999999999999 in webform_conditional.module
Is this an acceptable fix or will this have and repercussions elsewhere?
| Comment | File | Size | Author |
|---|---|---|---|
| #23 | 1033296-trigger_components_fix-23-D6.patch | 2.86 KB | tedbow |
| #22 | node.txt | 13.27 KB | hctom |
| #16 | webform_conditional-1033296.patch | 1.3 KB | tedbow |
| #8 | webform_conditional.module.txt | 21.87 KB | tedbow |
| #7 | webform_conditionl.patch | 6.49 KB | tedbow |
Comments
Comment #1
SophieG commentedThank you so much for this solution, it works for me perfectly (the fieldset was missing too...)
Comment #2
tedbowsetfree, glad you are getting use out of the module. I actually made the first version of the module for one of the "Coding for a Cause" sites we made that Sunday.
I think your fix will work. I am about to commit it. Thanks for finding that!
UPDATE: Just committed to CVS
Please download and let me know if it is fixed.
Comment #3
betz commentedI installed webform conditional today, so i have all latest changes.
I created a webform with about 30 fields, 5 pages, and all in multiple fieldsets.
Now everything seemed to work, i submitted 2 forms, but some conditional field lost their data when submitting.
Now i waned to edit some fields, and i don't see the 'Conditional rules (Same Page)' on most of the fields anymore.
So there is something wrong.
I looked in the DB at the field weights, none have negative weights.
Comment #4
alex.skrypnykHave the same issue here. Downloaded latest snapshot and it worked for some time (list of populated items was correct), but after adding 20 fields and coming back to edit one of the previously set fields - the options disappeared.
Please consider a fix as the module is great, but not currently usable.
Thanks
Comment #5
alex.skrypnykI've found that the problem is related to the fields inside of fieldsets after page breaks:
Field1
Field2
PAGE SEPARATOR 1
Field3
Field4
Field5 <-- (can see Field3 and Field4 from config of this field)
Fieldset1
--Field6
--Field7
--Field8 <-- (can see Field3, Field4 and Field5, but not Field6 and Field7) <--this is a problem for field in fieldset.
_webform_conditional_possible_trigger_components() has to retrieve not only all brothers and parent of current component (in this case we will retrieve fieldset only), but also the first "lightest" uncle (brother of a parent) component of type "pagebreak".
The main problem here is that pagebreaks are not a part of components hierarchy, therefore fieldset after pagebreak is NOT considered as child of the pagebreak (and it is impossible to drag any components under pagebreak to become a child).
I'm really confused about the fact that pagebreak was not implemented in hierarchy.
Comment #6
tedbowalex.designworks, thanks for finding this. I will start work on fixing it.
Comment #7
tedbowalex.designworks,SophieG, and Betz,
I have attached a patch file to this comment that I think will fixes the problem that alex.designworks detailed above.
I will so attach a text file in the next comment in case you aren't set up to work with patches.
I would like help testing it before I commit these changes.
Here is what I hope works:
These are the fields that should be available under Conditional rules (Same Page)
Field1
Field2
PAGE SEPARATOR 1
Field3(select)<-- (should see Field4)
Field4(select)<-- (should see Field3)
Field5 <-- (should see Field3 and Field4 from config of this field)
Fieldset1<-- (should see Field3 and Field4 from config of this field)
--Field6(select)<-- (should see Field3, Field4, Field7)
--Field7(select)<-- (should see Field3, Field4, Field6)
--Field8 <-- (should see Field3, Field4,Field6, Field7)
--Fieldset2
----Field9(select) <-- (should see Field3, Field4,Field6, Field7)
----Field10<-- (should see Field3, Field4,Field6, Field7,Field9)
PAGE SEPARATOR 2
Field11(text)<-- (can see no field since field12 is nested)
Fieldset1<-- (should see Field3 and Field4 from config of this field)
--Field12(select)<-- (can see no field )
Basically a component should see any select component that is on the same and on the same level(fieldset) or above.
If there are no selects that could be used I put out a message instead of hiding the fieldset(is this good idea or should I just hide it, like Webform?).
Comment #8
tedbowText file for above patch. Just remove .txt
Comment #9
alex.skrypnykJust tested your patch. It works! Awesome work! Thank you so much for this quick fix.
It is worth to mention that if there is an already build webform, there is a need to recreate the controlling select field (the one which is visible in dropdown). There is no need to recreate controlled field (the field on which the selection is made).
UPDATE: The fix only works with newly created webform. So if there is already a webform - it should be built again. This is what I had to do for my webform to make it work. tested on several webforms. Not sure whether patch altered the structure of webform/webform components.
Also, It would be good to have a description below select field that it is possible that controlling field can become a controlled one from indirect controlled field. (This sentence actually makes sense :) ) Example,
field1 controls field2
field 2 controls field3
field 3 controls field1
So the above may happen and it would be goo to let admin know about it. Personally I think that it is good that you allow controlling fields not only below, but also ABOVE the current. This brings more flexibility.
And one more thing. From your example above,
--snip--
Field11(text)<-- (can see no field since field12 is nested)
Fieldset1<-- (should see Field3 and Field4 from config of this field) <=============Is this a copy/paste error in comment? (Alex)
--Field12(select)<-- (can see no field )
Thanks again.
Comment #10
tedbowalex.designworks.
I am going to mark this as fixed b/c it works with newly made Webforms. Since these were "dev" version there is no guarantee things won't break.
Re:
Sorry,I am not going to implement this b/c I am trying to make the settings/editing be as similar to core Webform conditional settings as possible.
re:
I could see the advantages of this but b/c I of the way I enforcing the "mandatory" setting this will not work now. Also I think visually this could be confusing. If you had long one page form that means you could could be controlling a field that is above and out of sight.
I am marking as closed b/c the original issue, "Selection Options Disappeared", is fixed. Trying to keep one problem per issue.
Thanks for all your help testing
Comment #11
TimeRaider commentedUsing 6.x-1.0-beta6
Wanted to add some conditional rules to the already created webform, but nothing is there. Doesn't seem like the issue has been fixed.
Comment #12
TimeRaider commentedit works on newly created webforms
Comment #13
TimeRaider commentedsorry for spamming
but it doesn't work in in newly created forms either. i've added 2 fieldsgroups and 1 field. After adding 2 field the ui wasn't there. So is it the field weight issue?
Comment #14
tedbowTimeRaider,
Can you export a webform that is not working for you using the Node export module?
And then attach the export in a text file. Otherwise it is very hard to determine what is going on with your form.
thanks,
Ted
Comment #15
TimeRaider commentedsure, here's what i've got
Comment #16
tedbowTimeRaider,
Thanks for uploading this. I attached a patch that should fix the problem. I was bug in my module that occurred when the top(in weight) base component on a page was a fieldset.
Please try this patch and let me know it is fixes your problem. It is a small fix but please test it on other webforms if you have them.
I would appreciate any other testers too.
thanks,
Ted
Comment #17
TimeRaider commentedPatch worked like a charm! Thanks, a lot!
Comment #18
tedbowNo problem. Glad I could help.
Ted
Comment #19
hctomHi @all,
has the patch of #16 been applied to the latest release candidate (2011-Mar-07)? Unfortunately I still have these issues with this release :-(
I have a form with several page breaks and everything works on the second page until I reach a specific component (not wrapped in a fieldset). When I drag the follow up components that should work together to a position near teh top after the page break, I can select the options... but then all other follow up components (including those that worked before the position change) lose their settings again.
I traced the result of _webform_conditional_possible_trigger_components() and found out that my missing components are in the array but they don't get merged into the options array.
I'd appreciate your help!
Thanx in advance & cheers
hctom
Comment #20
hctomA quick follow up:
If you use this in webform_conditional_form_webform_component_edit_form_alter():
instead of (around line 23 in webform_conditional.module 6.x-1.0-rc1):
the options appear as expected!
Cheers
hctom
Comment #21
tedbow@hctom,
Could export a form that doesn't work without your change and tell me how to reproduce it?
I can't reproduce the problem.
Thanks,
tedbow
Comment #22
hctomHi tedbow,
sorry for the delay, but I just recognized that someone answered my issue (somehow I did not get an e-mail for that). Attached you can find the exported webform node. Just try to add a conditional rule for "Category 5 details" that wants to use the "Category 5" component. That option is not present in the dropdown.
Just give me a short note, if you need anything else
Cheers
TOM
Comment #23
tedbow@htcom,
Thanks for uploading this. I couldn't get your fix in #20 to work for this node. Could have been b/c I made some other changes since then. It did help me figure out what the problem was though.
I changed "_webform_condtional_get_usable_child_elements" to accept the current component list by reference so I could add the components directly.
Please try out this patch and let me know if it works for you(anybody else too). This is against the 6.x dev branch.
Thanks
tedbow
Comment #24
hctom@tedbow:
I finally managed to apply a patch using Git :-) It works perfectly, except one error, I get after applying the patch:
Warning: Call-time pass-by-reference has been deprecated in path/to/webform_conditional.module on line 515
This correpsonds to this line:
So you need to remove the ampersand in front of "$components".
Cheers
TOM
Comment #25
tedbow@htcom,
Thanks for catching that. I committed this to the dev branch.
http://drupalcode.org/project/webform_conditional.git/commit/eef2d79
Ted
Comment #26
hctom@tedbox: Thanx for everything. I'm looking forward to the next release :-)
Cheers
TOM
P.S.: Issue may be closed, doesn't it?
Comment #27
enzipher commentedHi,
I had issues with fields not showing up, and tracked it down to this line of code (line 23 in webform_conditional.module).
Replacing the line with the below one solved the issue, specifically using
array_merge()instead.Cheers,
Comment #28
tedbow@enzipher
The reason I am using plus operator there instead of array_merge is because I need to preserve the numeric array keys.
See: http://www.vancelucas.com/blog/php-array_merge-preserving-numeric-keys/
This may not affect your webform but it does some.
I have made some changes to the way "_webform_conditional_possible_trigger_components" works though in the latest dev that makes the " + " work better.
Can you try out latest changes in the dev branch and let me know if this fixes your problem?
http://drupalcode.org/project/webform_conditional.git/blob_plain/9591982...
Thanks,
tedbow
Comment #29
enzipher commentedAh, I see. Yes, the array is reindexed. Unfortunately the latest changes didn't correct the problem. The values in $triggerComponents does not get added to the option list.
To briefly explain the setup it's a checkbox in a fieldset on form page 3 that doesn't get listed for the following fieldset on the same page.
The checkbox should show up for the second fieldset but doesn't. Hope this make it a bit more clear. I am happy to help out with whatever I can to get this resolved, although my time is somewhat limited.
Cheers,
Comment #30
tedbow@enzipher,
It would great if you could use Node Export to post an example that is not working here. That makes my testing much easier.
Look at #14 & #15 above.
Thanks,
tedbow
Comment #31
enzipher commentedWhat about implementing this function instead of array_merge()?. The arrays get merged correctly and the keys are kept intact. I tried it out and all seems to work as intended, no missing values.
Cheers,
Comment #32
youan commentedI have recently happened across this problem.
The solution that I found to work for me was to replace line 23:
with this line:
using array_merge_recursive() in the latest release candidate
I know that it has been noted that array_merge may not work for everyone (#28), and it did not work for me either. This modification however does.
I did try the patch in #23 but it did not work.
Maybe this will help someone.
Comment #33
misrap commentedHi ! I must admit I am a novice and want to use the conditional action but its not working. The webform export is attached for reference. Also can anybody tell how to provide a id number to the user maybe his nid .... by confirmation mail
array(
'nid' => '9',
'type' => 'webform',
'language' => '',
'uid' => '1',
'status' => '1',
'created' => '1277902795',
'changed' => '1306602610',
'comment' => '0',
'promote' => '0',
'moderate' => '0',
'sticky' => '0',
'tnid' => '0',
'translate' => '0',
'vid' => '9',
'revision_uid' => '1',
'title' => 'Register',
'body' => 'Use this form to register for the workshop:',
'teaser' => 'Use this form to register for the workshop:',
'log' => '',
'revision_timestamp' => '1306602610',
'format' => '1',
'name' => 'admin',
'picture' => '',
'data' => 'a:1:{s:13:"form_build_id";s:37:"form-f2a858aae7fdac2fb1895ded308f2f61";}',
'path' => 'register',
'jcarousellite_enabled' => 0,
'jcarousellite_container_class' => '',
'jcarousellite_btnprev_class' => '',
'jcarousellite_btnnext_class' => '',
'jcarousellite_options' => '',
'print_display' => 1,
'print_display_comment' => 0,
'print_display_urllist' => 1,
'print_mail_display' => 1,
'print_mail_display_comment' => 0,
'print_mail_display_urllist' => 1,
'print_pdf_display' => 1,
'print_pdf_display_comment' => 0,
'print_pdf_display_urllist' => 1,
'webform' => array(
'nid' => '9',
'confirmation' => '',
'teaser' => '0',
'submit_text' => '',
'submit_limit' => '-1',
'submit_interval' => '-1',
'additional_validate' => '',
'additional_submit' => '',
'confirmation_format' => '1',
'submit_notice' => '1',
'allow_draft' => '0',
'redirect_url' => '',
'block' => '0',
'status' => '1',
'auto_save' => '1',
'record_exists' => TRUE,
'roles' => array(
'0' => '1',
'1' => '2',
),
'emails' => array(),
'components' => array(
'1' => array(
'nid' => '9',
'cid' => '1',
'form_key' => 'first_name',
'name' => 'First Name',
'type' => 'textfield',
'value' => '',
'extra' => array(
'title_display' => 'inline',
'disabled' => 0,
'unique' => 0,
'conditional_operator' => '=',
'width' => '',
'maxlength' => '',
'field_prefix' => '',
'field_suffix' => '',
'description' => '',
'attributes' => array(),
'conditional_component' => '',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '-9',
'page_num' => 1,
),
'2' => array(
'nid' => '9',
'cid' => '2',
'form_key' => 'middle_name',
'name' => 'Middle Name',
'type' => 'textfield',
'value' => '',
'extra' => array(
'title_display' => 'inline',
'disabled' => 0,
'unique' => 0,
'conditional_operator' => '=',
'width' => '',
'maxlength' => '',
'field_prefix' => '',
'field_suffix' => '',
'description' => '',
'attributes' => array(),
'conditional_component' => '',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '-8',
'page_num' => 1,
),
'10' => array(
'nid' => '9',
'cid' => '10',
'form_key' => 'surname',
'name' => 'Last / Family Name',
'type' => 'textfield',
'value' => '',
'extra' => array(
'title_display' => 'inline',
'disabled' => 0,
'unique' => 0,
'conditional_operator' => '=',
'width' => '',
'maxlength' => '',
'field_prefix' => '',
'field_suffix' => '',
'description' => '',
'attributes' => array(),
'conditional_component' => '',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '-7',
'page_num' => 1,
),
'3' => array(
'nid' => '9',
'cid' => '3',
'form_key' => 'organisation',
'name' => 'Organisation',
'type' => 'textfield',
'value' => '',
'extra' => array(
'description' => 'Organization or Institute you are associated with',
'title_display' => 'inline',
'disabled' => 0,
'unique' => 0,
'conditional_operator' => '=',
'width' => '',
'maxlength' => '',
'field_prefix' => '',
'field_suffix' => '',
'attributes' => array(),
'conditional_component' => '',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '-6',
'page_num' => 1,
),
'5' => array(
'nid' => '9',
'cid' => '5',
'form_key' => 'address',
'name' => 'Address',
'type' => 'textarea',
'value' => '',
'extra' => array(
'title_display' => 0,
'resizable' => 1,
'disabled' => 0,
'conditional_operator' => '=',
'cols' => '',
'rows' => '',
'description' => '',
'attributes' => array(),
'conditional_component' => '',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '-5',
'page_num' => 1,
),
'6' => array(
'nid' => '9',
'cid' => '6',
'form_key' => 'zippin',
'name' => 'Zip/Pin',
'type' => 'textfield',
'value' => '',
'extra' => array(
'title_display' => 'inline',
'disabled' => 0,
'unique' => 0,
'conditional_operator' => '=',
'width' => '',
'maxlength' => '',
'field_prefix' => '',
'field_suffix' => '',
'description' => '',
'attributes' => array(),
'conditional_component' => '',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '-4',
'page_num' => 1,
),
'8' => array(
'nid' => '9',
'cid' => '8',
'form_key' => 'e_mail',
'name' => 'E-mail',
'type' => 'email',
'value' => '',
'extra' => array(
'description' => 'E-Mail on which you will get confirmation.',
'email' => 0,
'disabled' => 0,
'width' => '',
'attributes' => array(),
'unique' => 0,
'title_display' => 0,
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '-3',
'page_num' => 1,
),
'9' => array(
'nid' => '9',
'cid' => '9',
'form_key' => 'phone',
'name' => 'Phone No',
'type' => 'textfield',
'value' => '',
'extra' => array(
'disabled' => 0,
'width' => '',
'maxlength' => '',
'field_prefix' => '',
'field_suffix' => '',
'description' => '',
'attributes' => array(),
'unique' => 0,
'title_display' => 0,
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '-2',
'page_num' => 1,
),
'11' => array(
'nid' => '9',
'cid' => '11',
'form_key' => 'mobile_no',
'name' => 'Mobile No',
'type' => 'textfield',
'value' => '',
'extra' => array(
'disabled' => 0,
'width' => '',
'maxlength' => '',
'field_prefix' => '',
'field_suffix' => '',
'description' => '',
'attributes' => array(),
'unique' => 0,
'title_display' => 0,
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '-1',
'page_num' => 1,
),
'23' => array(
'nid' => '9',
'cid' => '23',
'form_key' => 'do_you_require_an_invitation_letter',
'name' => 'Do you require an Invitation letter',
'type' => 'select',
'value' => '',
'extra' => array(
'items' => 'safe_key1|No
safe_key|Yes',
'multiple' => 0,
'title_display' => 'inline',
'aslist' => 1,
'optrand' => 0,
'conditional_operator' => '=',
'other_option' => NULL,
'other_text' => 'Other...',
'description' => '',
'custom_keys' => FALSE,
'options_source' => '',
'conditional_component' => '',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '0',
'page_num' => 1,
),
'12' => array(
'nid' => '9',
'cid' => '12',
'form_key' => 'nationality',
'name' => 'Nationality',
'type' => 'select',
'value' => '',
'extra' => array(
'items' => '0|Indian
',
'multiple' => 0,
'title_display' => 'before',
'aslist' => 1,
'optrand' => 0,
'webform_conditional_field_value' => 'safe_key|Yes',
'webform_conditional_cid' => '23',
'webform_conditional_operator' => '!=',
'other_option' => NULL,
'other_text' => 'Other...',
'description' => '',
'custom_keys' => FALSE,
'options_source' => '',
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '1',
'page_num' => 1,
),
'14' => array(
'nid' => '9',
'cid' => '14',
'form_key' => 'passport_no',
'name' => 'Passport No',
'type' => 'textfield',
'value' => '',
'extra' => array(
'title_display' => 'before',
'disabled' => 0,
'unique' => 0,
'webform_conditional_field_value' => 'safe_key1|No',
'webform_conditional_cid' => '23',
'webform_conditional_operator' => '!=',
'width' => '',
'maxlength' => '',
'field_prefix' => '',
'field_suffix' => '',
'description' => '',
'attributes' => array(),
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '2',
'page_num' => 1,
),
'13' => array(
'nid' => '9',
'cid' => '13',
'form_key' => 'hotel_of_stay',
'name' => 'Hotel of Stay',
'type' => 'select',
'value' => '',
'extra' => array(
'items' => '0|Taj
',
'multiple' => 0,
'aslist' => '1',
'email' => 0,
'description' => '',
'optrand' => 0,
'other_option' => NULL,
'other_text' => 'Other...',
'title_display' => 0,
'custom_keys' => FALSE,
'options_source' => '',
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '3',
'page_num' => 1,
),
'15' => array(
'nid' => '9',
'cid' => '15',
'form_key' => 'place_of_issue',
'name' => 'Place of Issue',
'type' => 'select',
'value' => '',
'extra' => array(
'items' => '0|delhi
',
'multiple' => 0,
'aslist' => '1',
'email' => 0,
'description' => '',
'optrand' => 0,
'other_option' => NULL,
'other_text' => 'Other...',
'title_display' => 0,
'custom_keys' => FALSE,
'options_source' => '',
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '4',
'page_num' => 1,
),
'17' => array(
'nid' => '9',
'cid' => '17',
'form_key' => 'date_of_arrival',
'name' => 'Date of Arrival',
'type' => 'date',
'value' => '',
'extra' => array(
'timezone' => 'site',
'year_start' => '1900',
'year_end' => '2050',
'year_textfield' => 0,
'description' => '',
'datepicker' => 1,
'title_display' => 0,
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '5',
'page_num' => 1,
),
'18' => array(
'nid' => '9',
'cid' => '18',
'form_key' => 'date_of_departure',
'name' => 'Date of Departure',
'type' => 'date',
'value' => '',
'extra' => array(
'timezone' => 'site',
'year_start' => '1900',
'year_end' => '2050',
'year_textfield' => 0,
'description' => '',
'datepicker' => 1,
'title_display' => 0,
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '6',
'page_num' => 1,
),
'19' => array(
'nid' => '9',
'cid' => '19',
'form_key' => 'i_would_be_attending',
'name' => 'I would be Attending',
'type' => 'select',
'value' => '',
'extra' => array(
'items' => '0|Tutorial on 5th December ,2010
1|Tutorial and conference on 5th,6th & 7th December,2010
2|conference on 6th , 7th December,2010
',
'multiple' => 0,
'title_display' => 'before',
'aslist' => 1,
'optrand' => 0,
'webform_conditional_field_value' => 'Yes',
'webform_conditional_cid' => '23',
'webform_conditional_operator' => '=',
'other_option' => NULL,
'other_text' => 'Other...',
'description' => '',
'custom_keys' => FALSE,
'options_source' => '',
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '7',
'page_num' => 1,
),
'20' => array(
'nid' => '9',
'cid' => '20',
'form_key' => 'level_of_participation',
'name' => 'Level of Participation',
'type' => 'select',
'value' => '',
'extra' => array(
'items' => '0|Speaker
1|Participant
2|Student
',
'multiple' => 0,
'aslist' => '1',
'email' => 0,
'description' => '',
'optrand' => 0,
'other_option' => NULL,
'other_text' => 'Other...',
'title_display' => 0,
'custom_keys' => FALSE,
'options_source' => '',
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '8',
'page_num' => 1,
),
'21' => array(
'nid' => '9',
'cid' => '21',
'form_key' => 'my_presence_would_be',
'name' => 'My presence would be',
'type' => 'select',
'value' => '',
'extra' => array(
'items' => '0|Remotly
1|Locally
',
'multiple' => 0,
'aslist' => '1',
'email' => 0,
'description' => '',
'optrand' => 0,
'other_option' => NULL,
'other_text' => 'Other...',
'title_display' => 0,
'custom_keys' => FALSE,
'options_source' => '',
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '9',
'page_num' => 1,
),
'22' => array(
'nid' => '9',
'cid' => '22',
'form_key' => 'i_am_interested_in_tour_packages',
'name' => 'I am interested In tour packages',
'type' => 'select',
'value' => '',
'extra' => array(
'items' => '0|Yes
1|No
',
'multiple' => 0,
'aslist' => '1',
'email' => 0,
'description' => '',
'optrand' => 0,
'other_option' => NULL,
'other_text' => 'Other...',
'title_display' => 0,
'custom_keys' => FALSE,
'options_source' => '',
'conditional_component' => '',
'conditional_operator' => '=',
'conditional_values' => '',
),
'mandatory' => '1',
'pid' => '0',
'weight' => '10',
'page_num' => 1,
),
),
),
'taxonomy' => array(),
'files' => array(),
'menu' => array(
'link_title' => '',
'mlid' => 0,
'plid' => 0,
'menu_name' => 'primary-links',
'weight' => 0,
'options' => array(),
'module' => 'menu',
'expanded' => 0,
'hidden' => 0,
'has_children' => 0,
'customized' => 0,
'parent_depth_limit' => 8,
),
'#_export_node_encode_object' => '1',
)
Comment #34
tedbow@misrap, thanks for exporting the form. If you are having the same problem as this issue please explain.
This issue:
is not related to this module.