How to create an advanced query in the condition attribute for an input field?

Rami_Joulani
Tera Contributor

Hey there, 
I want to have a query that does this: Show All Stockrooms in the chosen Location

Screenshot 2025-08-26 at 18.39.38.png

 I am just unsure about the scripted condition format. I want the query of the stockroom to be dependent on the value of the chosen location. So the user chooses a location, then all stockrooms in this location will be shown for selection.

1 REPLY 1

Rafael Batistot
Kilo Patron

Hi @Rami_Joulani 

I have a similar situation from my side. That was i did.

In "dependent" field i called the "location"

RafaelBatistot_0-1756223548503.png


With this, when i search stockroom, only display for me the stockrooms associate with the location 

If you found this response helpful, please mark it as Helpful. If it fully answered your question, consider marking it as Correct. Doing so helps other users find accurate and useful information more easily.