Active
Project:
Autocomplete Widgets for Text and Number Fields
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2011 at 16:14 UTC
Updated:
15 Feb 2012 at 11:08 UTC
My data does not get stored when using the auto complete widget...
Comments
Comment #1
drupalnesia commentedI am using PHP 5.3.8 with Autocomplete Widgets 6.x-1.3 works fine, all data stored.
Can you try 6.x-1.3?
Also I need more information according to your options selection, like: use value list or existing data, etc. Again please double check to make sure your data is not store correctly.
Comment #2
drupalnesia commentedComment #3
Michsk commentedOk, here is how i'm using this.
Node type A has a autocomplete field and a automatic node title which is set trough [field_activiteit_autocomplete-raw]. So it is set with the value that is set in the autocomplete. The autocomplete field is using the Autocomplete for allowed values list. Here's some more value from the autocomplete field:
Automatisch aanvullende overeenkomst:
Contains
Case sensitive:
Off
Allowed values, PHP code:
Then trough the http://drupal.org/project/node_widget module i automatically let users create an 'activiteit' node when they are adding a 'dagboek' node. (Diary and in every Diary you can add an activitie you did that day).
Comment #4
Michsk commentedOk, it seems the value is saved, but when editing the node the node title from the autocomplete fields is not shown.
This could mean that it has to do with node widget or automatic node title or this module.
Comment #5
kemitix commentedI'm seeing the same behaviour as in #4 with my autocomplete_widget. I don't have the node_widget module installed though.
Comment #6
kemitix commentedInvestigating further it only manifests when I use PHP Code for allowed values.
Comment #7
kemitix commentedOkay, I found why this was affecting me:
When I used PHP Code, the existing value wasn't in the array returned.
The array was a filtered list that to prevent values from being used on more than one node. So when I went into edit the node, the current value was being excluded and the field was blanked as a result.
Unfortunately it means I need to look at another way of implementing this for myself.