Forum Discussion

MichaelTamoush's avatar
MichaelTamoush
Qrew Captain
5 years ago

Conditions to Conditional Dropdowns?

I don't think this is possible by design, but perhaps someone has a good trick/workaround.

I'm trying to set a condition on conditional dropdowns.

 i.e.

If scenario 1 is true, match Value A in this table to Value A in related table,

If scenario 2 is true, match value A in this table, to Value B in related table.

 
Alternately, I could get away with only one condition but saying, match value A in this table if contained in value A in related table.





------------------------------
Mike Tamoush
------------------------------
  • Create a formula text field that represents the criteria:
    IF([some field]="some text",[Value A],[Value B])​and then use this field as the matching field in the CDD. The criteria can be setup lots of different ways, I just did a sample [Field]="some text".

    ------------------------------
    Blake Harrison
    bharrison@datablender.io
    DataBlender - Quick Base Solution Provider
    Atlanta GA
    404.800.1702 / http://datablender.io/
    ------------------------------
    • MichaelTamoush's avatar
      MichaelTamoush
      Qrew Captain
      Yeah, that is how I usually handle it. In this case, on the foreign (related table) I have nothing to go on to make my formula. The formula I need depends on what is currently being chosen by the user where the conditional dropdown is. Meaning, the formula would have to be:

      If( [the field in a different table being chosen currently that isn't related to this yet] = "Certain Condition", "Value A", "Value B")

      ------------------------------
      Mike Tamoush
      ------------------------------
      • BlakeHarrison's avatar
        BlakeHarrison
        Qrew Captain
        This is what I would typically call a 'non-standard' use-case because it falls outside of how something is typically structured within Quick Base. I remember you asking something similar in another thread - can you explain your use case with a little more detail? Specifically:
        • How are the two tables related? (not in a technical, Quick Base relationship way, but in a business sense)
        • Why are there two possibilities for this conditional and what does each one represent?
        • What business logic is used by the User when they are entering the Parent record to decide between Value 1 and Value 2?


        ------------------------------
        Blake Harrison
        bharrison@datablender.io
        DataBlender - Quick Base Solution Provider
        Atlanta GA
        404.800.1702 / http://datablender.io/
        ------------------------------