These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

I Give Up, Help!

stewie
Registered: Dec 11 2007
Posts: 10
Answered

My last post I was looking for some reference tips so that I could figure my problem out by myself, but I'm getting desperate. Here's the deal. I need to insert a code in Javascript that when a check box is checked, the text in three different fields (two numeric and one drop down) will change from white to black. I have no experience with Javascript so I'm hoping that I can follow the logic in the script to help me with others down the line.

Thanks,

Stewie

stewie
Registered: Dec 11 2007
Posts: 10
After a several days of research, I figured out what to do. I was able (through Javascript) to be able to assign a value to the numeric field when the check box was checked. If they wanted that particular item, it would assign the price when checked. Wheeeew, it only took 4 days to get things going on this. Since there is a chance for someone to order duplicates of it at a different price, I set up a drop-down field that will be used to calculate the subtotal by FormCalc (# of dupes * the price of dupes), and then using FormCalc get a subtotal for any particular item (original item & dupes) as well as the grand total. Still have a ton more to learn about scripting, so anyone who has a good reference to help me, I would still like to know about them.Stewie
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
There are some additional LiveCycle sample resources available at:
http://www.adobe.com/devnet/livecycle/designer_scripting_samples.php

Also, there is a book called Creating Dynamic Forms with Adobe LiveCycle Designer:
http://www.smartdoctech.com/books.aspx

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

stewie
Registered: Dec 11 2007
Posts: 10
Thanks so much for your help in both my posts. This is truly exciting.

Stewie