I'm building a webform and would like to link some of the text to a page with more information on the item being selected. I understand html does not work within the select area. I read someone saying you can get links in using the key value. If this is true, I would appreciate someone walking me through how to do this, as I'm not a developer and am new to Drupal.

Comments

quicksketch’s picture

I'm not sure what you're trying to accomplish here with your description, "link some of the text to a page with more information on the item being selected". Where would this link go? Are you talking about a link in an actual HTML <select> tag, or do you mean as radio buttons?

skookumchuck’s picture

I have been tasked with creating a survey. Users select one of several options, and submit their choice. Within the text describing each option we want to put a "read more here" link that takes the person to a page in a new window with more information on that choice.

skookumchuck’s picture

It was this conversation that led me to think there's a solution: http://drupal.org/node/442338

quicksketch’s picture

So you didn't answer my question of whether it's a <select> list or <input type="radio"> buttons. If you use radio buttons (the default for select components) instead of "List box" style selects, you can use basic HTML including links in your options. As I've said before, this is not possible in <select> elements because HTML does not allow it.

option1|Option 1 (<a href="/more1">More info</a>)
option2|Option 2 (<a href="/more2">More info</a>)
option3|Option 3 (<a href="/more3">More info</a>)
quicksketch’s picture

Status: Active » Closed (fixed)

Closing after lack of response. Please reopen if you have further questions on this issue.