by sixeyeco » Thu Jul 15, 2010 1:52 am
Hi, I'm not technically up to incorporating your js but I can think of a workaround. There was a small typo in your post but I think that you are saying that if the answer to the first question in your form is A then the next two fields are necessary. If the answer is B or C then the next two fields are not necessary.
For example:
1. Are you interested in our product? YES | NO | Perhaps
[list=]If so please enter your name: ________
And your phone number: ________ [/list]
If this is the case you can solve this in ten minutes. Create and publish two forms. The first form for those whose answer to the first question was A. The second form for those whose answer to the first question was B or C.
Then, create a new article. In the body of the article ask the first question with answers linked to the appropriate form. It could look something like this:
Question: 1. Are you interested in our product? YES | NO | Perhaps
YES - Linked to the first form
NO - Linked to the second form
Perhaps - Linked to the second form
As I said, I'm not technical so to determine the actual links to these forms I would first publish the forms' MENU items with SPECIAL permissions, that way only admins can see them in the menu. Right click and copy the link location and add them to the article.
I hope this helps. I also like this component and want to help in any way I can.