[TYPO3] No captcha for pbsurvey? How to wrap pbsurvey questions?
Patrick Broens
patrick at patrickbroens.nl
Sat Feb 24 15:05:31 CET 2007
Hi Bing,
This is not an issue of pbsurvey, but the <legend> tag. It is intended
to allow authors to assign a caption to a fieldset which is normally a
short phrase. No wrap is done in the <legend> tag in most browsers,
although Opera wraps the text.
You can change the template, and change the <legend> tags to <p>
paragraphs or <div>.
Patrick
Bing Du wrote:
>> On Thu, 22 Feb 2007 09:35:00 -0600 (CST), Bing Du wrote
>> with subject "Re: [TYPO3] No captcha for pbsurvey? How to wrap pbsurvey
>> questions?":
>>
>>>> Hi,
>>>>
>>>> Typo3 V4.0.4
>>>> Questionaire (pbsurvey) 1.0.8
>>>> freeCap CAPTCHA (sr_freecap) 0.4.4
>>>>
>>>> In the pbsurvey Access configuration, 'Show Captcha before entering
>>>> survey' is enabled. But I don't see any captcha show on the survey
>>> page?
>>>> What did I miss?
>>>>
>>> Captcha started working magically.
>>>
>>>> Another question, no matter how long is the question, pbsurvey shows
>>> the
>>>> question in one line. It doesn't fit in our narrow layout. Can long
>>>> questions show up in multiple lines? How?
>>> I'm still looking forward to solutions for this.
>> can you give an URL to inspect?
>> I guess it may be your CSS instead of the output of pbsurvey.
>> some "white-space:nowrap;" ???
>>
>> Bernd
>> --
>> http://www.bernd-wilke.net
>
> I wish I could. But the page is for intended internal users only. I
> cannot post the URL here. I just use the default pbsurvey CSS file by
> including 'default CSS-styles (pbsurvey)' in the template record. I'm not
> sure if the illustration below shows up fine for others. The vertical
> lines represent the layout border. So some long questions go beyond the
> border.
>
> | |
> | 2. this is a very loooooooooooooo|oog question.
> | o choice1 |
> | o choice2 |
> | |
>
> I've fixed it. Here is what I did.
>
> pbsurvey's default template.html file has
>
> <legend class="question"><span
> class="questionNumber">###CURRENTITEM###</span> #
> ##QUESTION###<!--###REQUIRED### begin--><span class="required">
> *</span><!--###REQUIRED### end--></legend>
>
> I changed it to
>
> <legend class="question"><span
> class="questionNumber">###CURRENTITEM###</span></legend> #
> ##QUESTION###<!--###REQUIRED### begin--><span class="required">
> *</span><!--###REQUIRED### end-->
>
> Bing
More information about the TYPO3-english
mailing list