Select Form Extra Filter Condition

Confluence User - 27 Oct, 2021

Hi. I want to auto display a value based on previous version.


1.MainForm

- commodity (option binder - commodity > commodity1) **User will select one option.

- grade (option binder - commodity > commodityGrade) **Automatically display the value based on commodity option.


2. Commodity CRUD (Type of Commodity)

 - commodity1

 - commodityGrade (option binder - grade)


3. Grade CRUD (Type of Grade)

- grade1

------------------------------------------------------------

In the main form, I would like the grade select box to automatically display based on the commodity option.

I dont really know how to write Javascript...but this is roughly what I would like to do

<script>

if (commodityGrade == EG) {
grade = "EG";
} else if (commodityGrade == FG) {
grade = "FG";
} else {
grade = "NG";
}
</script>


If someone has a better script or method, please do advise me on the matter.

forms;javascript

2


27 Oct, 2021
confluenceUser
1
confluenceUser

Maybe you can follow the steps here Dynamic Cascading Drop-Down List

28 Oct, 2021
confluenceUser
confluenceUser

Thank you, it works now.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print