on 03-24-2023 1:41 PM
Hi,
I'm working with adobe form in transaction SFP.
In the next page I have a variable (W_NAME4) and i want to insert a check that if its empty then the next variable must scroll up.
The subform is flowed.
I have inserted this java script code:
data.#pageSet[0].NEXT_PAGE.SUBMOD_INDI.W_NAME4::initialize - (JavaScript, client)
if ( this.resolveNode("W_NAME4").rawValue == "" || this.resolveNode("W_NAME4").rawValue == null ) {
this.presence = "hidden";
}
To be able to test if the "IF" is executed in the upper field I have inserted the following logic:It seems that this problem only happens on the next page, because I have the same code in the main page and the field is hidden correctly.
Any ideas?
I confirm that if the submodule is moved to the master page the code works correctly.
Thanks everyone for the suggestions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just reading answer by you and answer by Andreas, it's confusing as Andreas says it should work if moved to the design page, and YOU say it works if moved to the master page. Please clarify.
It works if it is moved out of the master page.
User | Count |
---|---|
76 | |
10 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.