Hi guys,
I am a relative newbie with livecycle and have created some forms for a client but am now stuck on something which you guys will probably quickly figure out.
I have trawled through all the relevant posts here and a few other places but i cannot find anything the same as to what i am trying to achieve. I found a couple of posts relating to javascript solutions, but they were not quite what i was after.
What i have is an order form which lists products which have a numeric $ value text box next to the product description, stating the price of the item as well as a checkbox (or radio button, dont know which will work!).
Now, what i want is for users to be able to click/check the button/box and the value of the relevant numeric box summed in a total box (and hence once shoppers have finished checking the boxes the 'total' box will show the total....
It seems quite easy to do if you have a static value of say 1-5 etc (or any other value you set in the binding 'on' value), but i need the value to change according to what is in the numeric field box.
I have done some very basic things with formcalc, but not with javascript. if i could stick to formcalc for now that would be great (if not, will just have to learn asap!).
I can upload a copy if that helps, but not sure where to as i have only just joined up.
Any help would be greatly appreciated.
thanks in advance,
Dooda
Is there a reason you wouldn't want the total to display automatically, without user intervention? If you sum all the fields in the calculate event of the total box, it should do what you're looking for, and the total will update whenever there's a change. (If this makes no sense, let me know and I can provide an example :) )
If I'm not understanding what you want to do, please elaborate :)
Kathryn