Support Forums

We encourage an open exchange of information. Ask your questions or make suggestions. We are here to help, but we also encourage all of you to help one another.
Click on the Subscribe Flag to be notified by email of replies to your post.
Current User: Guest Login Register
Please consider registering

Hidding buttons within row of custom matrix?

Add a New Topic Reply to Post
UserPost

7:36
October 23, 2008


DJP

Member

DJP

posts 17

I have a feeling this isn't possible but thought I'd ask anyway.

I have a massive matrix of questions (a custom matrix) where ideally their response in the first 'horizontal group' determines which of the two subsequent groups is visible (only the radio buttons would disappear, not the column headings).  If someone out there knows how to do this and it requires some crazy scripting, that's ok ;)

Thanks

9:40
October 23, 2008


Chad

Moderator

posts 754

Hi DJP,

Anything's possible with enough scripting Wink.


Seriously though, it will take a fairly high level of javascript knowledge to do this.  If would like we can build a script like this for you, just send your requirements to support and we'll take a look at them (the survey should be built already).

If you are confident enough in your javascript ability you can do this yourself and if you need a hand, just ask Smile.

-Chad

1:39
October 24, 2008


DJP

Member

DJP

posts 17

Thanks Chad,

I had a feeling that would be the response ;)

Do you know of any threads or documentation on this site that deal with a related issue?  i.e. using javascript to tweak the behaviour/properties of specific controls on a page?  I'd like to take a crack at it first…

Thanks!

Dylan

2:07
October 24, 2008


Chad

Moderator

posts 754

Hi Dylan,

Since Javascript is a language of it's own we don't have any documentation on it, but I'm sure you'll find plenty of examples by seaching Google.


As far as using it on our surveys, you can add Javascript in several places.  The simpliest is by going to Edit Survey->Look & Feel->This Theme's Template HTML and adding it to the bottom of the Template HTML box.


If you are using FireFox a very useful addon to find the id's of a question is FireBug.  After you have FireBug installed and enabled just right click on a question and go to Inspect Element and it'll bring up that section of HTML and you'll be able to see the id of the element which you can reference in Javascript.


Hope this helps,

Chad

3:29
October 24, 2008


DJP

Member

DJP

posts 17

Great, thanks again Chad.  That last point is exactly what I needed to know!

Dylan

Add a New Topic Reply to Post


Reply to Topic: Hidding buttons within row of custom matrix?

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 12 + 10        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.4 (Build 357)