Many search tab issues with widgets
Archived from the Xataface Users forum.
nusskratzer — Wed Aug 15, 2012 6:37 am
Hello,
Following my previous post, I found out that the widget issue applies to many “complex” widgets types: In Xataface 1.3.2, I am unable to get e.g. checkbox, or advmultiselect in fields appearing on the “find” page, while they do appear properly on the record “edit” page. On the “find” tab they automatically get converted into select fields.
Additionally I installed the Xataface 1.9 branch with the depselect module and again, it worked well on the “edit” page but they appear as select fields on the “find” tab.
I am missing something or what ??!
The way I defined the fields for e.g. checkbox is as follows:
fields.ini:
[myfield]
widget:type=checkbox
vocabulary=myfieldvoc
visibility:find=visible
valuelists.ini:
[myfieldvoc]
__sql__ = “SELECT myfield FROM mytable ORDER BY myfield”
And that’s it. Or should I do something else??
shannah — Mon Aug 20, 2012 11:02 am
The find tab does not use the same widgets as the edit form. It tries to use an appropriate widget based on the settings, but it won’t use the same ones. This is because fields are often used differently while searching than they are while editing.