Hmm, I thought the message was in red, I guess it depends on the CSS
file (style) you're using. You can change the content (add numbers) of
the error message in the response_check_required() method in the
espresponse.inc library file. You can change the presentation
(red/bold) of the message in the CSS file you are using via the
'message' class (or just switch stylesheets).
Perhaps you should enter a "feature request" on the sourceforge tracker
for phpESP, suggesting that the 'message' class in the default
stylesheet use a more prominent style. (M. Gregg, want to tweak
default.css?)
-James
John Greek wrote:
> James,
>
> First, thank you for creating such helpful and easy to understand
> software. Much appreciated! It is inspiring work. I also appreciate
> that you, the creator, personally answer
>
> About the required fields: I see the following msg-- "You are missing
> the following required questions: " -- followed by a list of the
> questions that have been missed. Great. But the message is not bold or
> red, so my eyes pass over that message since it blurs in with the
> introductory message. Is there a way I can modify the software to use
> bold/red or both and, if possible, to use question numbers as opposed to
> letters.
>
> E.G. You are missing the following required questions: #1, 3, 6, and 8.
>
> The last part is not necessary, but the bold/red would be.
>
> Thanks Greatly! John
>
>
>
> -----Original Message-----
> From: php...@li...
> [mailto:php...@li...] On Behalf Of James
> E. Flemer
> Sent: Wednesday, April 28, 2004 6:49 PM
> To: php...@li...
> Subject: Re: [phpesp-general] Survey: Domain Recording, Required Fields
>
>
> John Greek wrote:
>
>>Greetings:
>>
>>I have two questions, I appreciate your answers to one or both:
>>
>>- Domain Recording. Is there a way to record IP addresses/domains as
>>a field on each survey response? I am not having survey users login
>>at this time, but want the ability to record the locations from which
>>survey responses are coming in.
>
>
> Already on by default, though the information is not reported on any of
> the existing report/results pages. For non-authenticated surveys, the
> IP address is recorded in the 'username' field of the 'response' table.
>
>
>>- Required Fields. I have made a user's response required on a
>>specific questions on my recent survey. If the user does not enter
>>that information, the form is reposted. I would like a message to
>>appear, in red, that states to fill in all required fields, perhaps
>>even large red marks next to the overlooked questions.
>
>
> This is the normal behavior, you should see a message in red at the top
> of the survey. You are seeing something different?
>
> -James
|