Print Page | Close Window

Drop down box not returning correct cal

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: JavaScript
Forum Description: Discussions relating to the use of JavaScript within PDF.
Printed Date: 17 Jul 2019 at 1:37pm
Software Version: Web Wiz Forums 11.10 -

Topic: Drop down box not returning correct cal
Posted By: BOBBYM89
Subject: Drop down box not returning correct cal
Date Posted: 17 May 2016 at 4:01pm
HI Everyone,

I need some urgent help with my script.

I have two drop down boxes

topmostSubform.Page1.BUDGETCATDROPDOWN::change - (JavaScript, client)

if (this.resolveNode("BUDGETCOUNTRYDROP").rawValue == "ALBANIA" || this.resolveNode("BUDGETCOUNTRYDROP").rawValue == "BAHRAIN" && $.boundItem(xfa.event.newText) == "C1") {
this.resolveNode("shippingtotal").rawValue = this.resolveNode("#subform[1].BUDGETTABLE.C1.V").rawValue;

topmostSubform.Page1.BUDGETCOUNTRYDROP::change - (JavaScript, client)

if ($.boundItem(xfa.event.newText) == "ALBANIA" || $.boundItem(xfa.event.newText) == "BAHRAIN" && this.resolveNode("BUDGETCATDROPDOWN").rawValue == "C1") {
this.resolveNode("shippingtotal").rawValue = this.resolveNode("#subform[1].BUDGETTABLE.C1.C").rawValue;

for some reason it keeps returning a shipping figure from "BUDGETTABLE.C1.C"" without the selection of "C1" to be defined. Any Ideas why its doing that?

I'm using Live cycle


Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 -
Copyright ©2001-2017 Web Wiz Ltd. -