on 2023 Jul 17 8:30 PM
Dear,
As a newby to Adobe Lifecycle, I ‘m facing a problem with scripting and floating fields. I would like to reference a field value on a Sales Quote object in SAP C4C. So whenever the value of a checkbox (e.g. Z_WOZbeschikking) is set to false (default) the Text box (e.g. txtExample) (paragraph; not editable) must be hidden. The current syntax that I have used does not work. I can’t figure out what I am doing wrong. The current syntax is :
FormQuoteNotification.#subform[6].woz::initialize - (FormCalc, client)
if($.FormQuote.Z_WOZbeschikking.rawValue == "false") then
this.presence = "hidden";
endif
What am I missing? Please help.
Best regards!
Request clarification before answering.
Hi Berry!
So you directly want to access the field like it is displayed in the data binding like "$.FormQuote.Z....."
I had problems with this too and helped me like this:
- Add the field to the same area like the field that you want to dynamically hide, but with presence "Hidden".
- Place the cursor in the script -> use crtl+shift+click on the desired field
- Correct field name that can be used in the script should be added.
So in your case it should look something like "FormQuoteNotification.#subform[6].Z_WOZbeschikking.rawValue"....
BR,
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
18 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.