Link dropdown list with

Hi,

I’m looking for a ressource to know how to link a dropdown list with an integer field.

I’m using suiteCRM 7.10.1

I have this, but it seems to be outdated: http://support.sugarcrm.com/Knowledge_Base/Studio_and_Module_Builder/Creating_Dependent_Dropdown_Lists/#Configuring_the_Dependency

Thx

That’s is the opposite of outdated, it is too new :slight_smile: those features are on SugarCRM after the fork was made, so they are not in SuiteCRM.

Try to check documentation up to version 6.5:

http://support.sugarcrm.com/Documentation/Sugar_Versions/6.5/Pro/Administration_Guide/Developer_Tools/

or explain a little better what you’re trying to do, what you tried and what problems you had.

I found this: http://support.sugarcrm.com/Knowledge_Base/Studio_and_Module_Builder/Sugar_Logic/Dependent_Field__Display_Based_on_List_Values/

But I don’t know wherecan I define it as dependent.

Thx

Sorry, that’s Sugar Logic, you strayed onto documentation for a new version again :slight_smile:

That doesn’t exist in SuiteCRM.

In Opportunities module, the sale_stage is linked with the Probabilty field, It’s not possible to edit it in sugarCRM ?

This is the SuiteCRM forums, why do you keep asking questions about SugarCRM? Which one are you using, after all?

And if you are using SuiteCRM, please explain better what do you mean by “edit”. Tell me in which screen you are, and what you’re trying to do.

In Opportunity module, by default the Sales Stage field is automatically linked with the Probability field.

I would like to reproduce it with another fields.

Ah finally I understand your question, sorry if I was being daft :blink:

That is custom code to customize the Edit view, injecitng some javascript into the view:

https://github.com/salesagility/SuiteCRM/blob/master/modules/Opportunities/views/view.edit.php#L89

Check out also this are of the code

https://github.com/salesagility/SuiteCRM/blob/master/modules/Opportunities/Opportunity.php#L366-L372

Thanks a lot :slight_smile: