Hi,
I would like to implement the following behavior at a submit point:
1. I have a metadata field named job-type which allows the following values (dropdown list):
Brochure
Book
postcard
business card
2. I defined a child field of the name bindings. This field allows values like saddle&stitch, booklet and so on
3. As bindings are not applicable to, let us say, postcards and business cards I would like to have this field appear only in case some choose one of the relevant values at the job-type field.
Any hin is welcome,
Ariel
submit point -dependencies
-
- Advanced member
- Posts: 230
- Joined: Thu Aug 07, 2014 10:04 am
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
submit point -dependencies
This functionality is not available in SwitchClient; however, you maybe able to get something similar but using a script. The limitation will be that the script does not have access to the user's selection for the job-type.
-
- Advanced member
- Posts: 230
- Joined: Thu Aug 07, 2014 10:04 am
submit point -dependencies
thank you!
Do I understand it correctly that it is possible if the job-type would not be a dropdown list?
If I do not have access to the user's selection of job-type value, how a script can help me to show only relevant fields?
Do I understand it correctly that it is possible if the job-type would not be a dropdown list?
If I do not have access to the user's selection of job-type value, how a script can help me to show only relevant fields?
submit point -dependencies
Create a dependent field that is shown when the parent matches Brochure|Book and fill in the binding methods in a list. When using postcard or business card the dependent field will not be shown.
If the binding methods are different for brochures and books, then create two dependent fields.
Freddy
If the binding methods are different for brochures and books, then create two dependent fields.
Freddy
-
- Advanced member
- Posts: 230
- Joined: Thu Aug 07, 2014 10:04 am
submit point -dependencies
Thank you Freddy, that was my plan.
I was not able to set an inline value while the parent filed is a drop down list.
What do I wrong?
I was not able to set an inline value while the parent filed is a drop down list.
What do I wrong?
submit point -dependencies
When you create a dependent metadata field by clicking on the button to move it to the right, there are additional properties: "Show if parent" (equals, does not equal, ...) and "Parent value" where you will see a drop down list of what is in the parent list.
If you want to match multiple values, then you choose "Matches" from "Show if parent" and then the "Parent value" changes to a text input field where you can type a regular expression.
Freddy
If you want to match multiple values, then you choose "Matches" from "Show if parent" and then the "Parent value" changes to a text input field where you can type a regular expression.
Freddy
-
- Advanced member
- Posts: 230
- Joined: Thu Aug 07, 2014 10:04 am
submit point -dependencies
Hi Freddy, thank you.
I wish it would show me the blank line to enter a regular expression - but it does not:)
Any suggestions?
I am on 12 update 2.
Thanks
I wish it would show me the blank line to enter a regular expression - but it does not:)
Any suggestions?
I am on 12 update 2.
Thanks
-
- Advanced member
- Posts: 230
- Joined: Thu Aug 07, 2014 10:04 am
submit point -dependencies
ok - I found out how it works:
I have to choose define text with variables and the enter the regular expression string there.
Freddy - thank you very much!
I have to choose define text with variables and the enter the regular expression string there.
Freddy - thank you very much!