Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Drop down box not returning correct cal
  FAQ FAQ  Forum Search   Register Register  Login Login


Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

Drop down box not returning correct cal

 Post Reply Post Reply
Author
BOBBYM89 View Drop Down
New Member
New Member
Avatar

Joined: 17 May 2016
Location: london
Points: 1
Post Options Post Options   Quote BOBBYM89 Quote  Post ReplyReply Direct Link To This Post Topic: Drop down box not returning correct cal
    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

thanks,
Bobby
Back to Top
Sponsored Links


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

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

This page was generated in 0.047 seconds.