Here is the java script for what I have so far. I don't know where to go
from here.
The online form creates a sales flyer with a list of the participating
stores, up to 10 stores. The user inputs info into the online form for
each of the stores - Store01, Address01, City01, State01, ZIP01,
Phone01... Store02, Address02 etc.....
This information populates the invisible fields of the Location Options 1
- 10.
The Headliner Store for the area is chosen from the Location Options, and
the other locations fall below it, in smaller type.
Headliner Store
Location Option 1
Location Option 2
Location Option 3
etc
***Here is the Problem:***
This works fine, except that when, for instance, Location Option 3 is
chosen for the Headliner Store, Location Option 3 still appears in the
list underneath the Headliner.
How do I fix that?
Here is the LocationOptionRule I use to get the information from the
stores into the line of text for the location options:
//LocationOption1Rule
switch (Field("LocationOption1").toLowerCase())
{
case "LocationOption1".toLowerCase():
return Field("Store01")+" "+Field("City01")+"
"+Field("Phone01")
default:
return "";
}
I use this rule for all ten locations, changing out Option1 to Option 2,
and Store01 to Store 02, etc.
Then I create a dropdown menu in the FusionPro Template in Printable with
LocationOption 1,2,3 etc for the field "StoreHeadliner"
Then I apply the rule for Store Headliner:
//StoreHeadlinerRule
switch (Field("StoreHeadliner").toLowerCase())
{
case Field("LocationOption1").toLowerCase():
return Rule("LocationOption1Rule");
case Field("LocationOption2").toLowerCase():
return Rule("LocationOption2Rule");
case Field("LocationOption3").toLowerCase():
return Rule("LocationOption3Rule");
case Field("LocationOption4").toLowerCase():
return Rule("LocationOption4Rule");
default:
return "";
}
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Calling all FP Web Users!
Do you have a question or lots of knowledge to share about FusionPro Web?
If so, join our Printable Web to Print Users' Forum today!
Send email to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
Users of FusionPro Desktop have unlimited free email support. Contact Printable
Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm
--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--
--
Note: All e-mail sent to or from this address will be received or otherwise
recorded by the e-mail recipients of this forum. It is subject to archival,
monitoring or review by, and/or disclosure to someone other than the recipient.
Our privacy policy is posted on www.printplanet.com
--