Jump to content

ab2013

Members
  • Posts

    2
  • Joined

  • Last visited

ab2013's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi there, hope someone out there can help me with this problem. I have a form with cascading dropdowns, so when someone chooses a product, the price field is looked up. If someone changes the product, the price of the new product is looked up correctly. So far, no problem. However, what I want to do is show the user a running total of the order value, and to re-caclulate the total if the product selection changes. The problem is that if I put the calculation into the product onchange event, the new price is not yet looked up into the price field. The price onchange event doesn't fire, which I guess is due to the fact that it is looked up automatically. So what I need is either an event that DOES fire when the price is re-loaded. Any ideas?
  2. I am setting up an update form which can be used in two different ways, by hiding or displaying fields. The way the form detects which of the two sets of fields to display is by a checkbox field. The form also sets this checkbox field so that the next time the form is used the fields that were hidden become visible and the visible ones become hidden. The problem is that on loading the form the checkbox value is always read as 'Y'. I try setting this to 'N' or 'No' in the javascript but it doesn't make any difference even when the form is updated and then re-used. I am using chrome and windows XP
×
×
  • Create New...