wcsr
21 March 2018 06:18
1
Whenever I try to save anything in the Module maker I get the following error
Notice: Undefined index: LBL_SEARCH_BUTTON in /home/www/suitecrm.wcsr.com.au/modules/ModuleBuilder/MB/MBLanguage.php on line 184
Any help would be appreciated
Thanks
John
pgr
21 March 2018 19:59
2
It always helps if you tell us your version of SuiteCRM…
If that error appears on screen (not on the logs), you should simply turn off display_errors in your php.ini
1 Like
wcsr
21 March 2018 23:25
3
pgr
Apologies for not including the relevant detail.
Version 7.10.2
Sugar Version 6.5.25 (Build 344)
I have only just installed Suitecrm and very new to how it works.
I am also unable to locate where I can make a field dependant/calculated, as I want to create a dropdown list from another module.
Cheers
John
wcsr
22 March 2018 00:03
4
pgr
I found what I need in dropdown field and modify en_us.lang.php to add large list.
Thanks
John
pgr
22 March 2018 10:53
5
Don’t go editing files manually when you have the Dropdown Editor in Admin screen.
But note that there are no “calculated fields” in SuiteCRM, except through Workflows.
Is your problem with display_errors solved?
wcsr
22 March 2018 11:13
6
Yes, thanks to your suggestion.
I could never enter all the dropdown lists using the single entry option in admin.
I have about 10 dropdown list I need to populate some having up to 500 selections.
That is why I was hoping for a dependency/calculated field so that I could use another module for the look up data list.
Cheers
pgr
22 March 2018 11:19
7
Ok, for that kind of data I agree it’s better to do it from code. As long as you’re confortable with it
You can do Workflows and logic_hooks to change one field after the record is saved, based on the value of another field.
If you want it more dynamic, with the change happening on-screen before the user saves the record, then you need to inject some javascript into the view to do whatever you want.