AnsweredAssumed Answered

Dropdown fields acting strange (not showing or saving)

Question asked by jlabuelo on Oct 10, 2016
Latest reply on Oct 10, 2016 by Hiren Darji

Hello all

(Our Version is SugarCE 6.5.20)

I am using a set of custom dropdowns in the Meetings (just an example , it happens in all custom dropdowns) module which are not working correctly from time to time.

I usually get these two behaviours:

 

a) Dropdowns not showing data

Sometimes when I open a record in "Edit view", the labels of the dropdowns are in there, but the dropdown itself is not shown or if it is shown not value is included. To fix this I have to close and open (back and foward between Edit and Detail views) until the values and the fields are correctly shown.

A temporary fix I found is to delete cache folder for the module in cache/modules/Meetings.. but after sometimes working again it uses to hapen.

 

b) Dropdowns not saving value.

Other issue I am facing with default dropdowns is that once I am able to select the value, and I click on save to save the record, it comes back to "Detail view" but with no value updated in the dropdown field, neither in the DB. Most of the times I have to open it again and save it until I get the field updated.

 

Any suggestions to solve these two situations?

 

Thanks a lot so much in advance!

Outcomes