
Signature
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
> [snip]
>
[quoted text clipped - 12 lines]
>
> would be more appropriate.
It would also be a static solution. He's asking for a dynamic solution,
where the appearance of the page changes depending on the user's initial
interactions. If someone directed him here from c.l.js, it must be because
he didn't understand this.
> > There is no way to change CSS properties of a group of fields globally
> > but changing them via Javascript.
>
> On some arbitrary run-time trigger, no there isn't, but I don't think
> that's what the OP is looking for.
It's exactly what the OP said he was looking for. "At the beginning of my
form I use a set of radio buttons to determine how to validate the form as
well as determine what fields are required. Because the form is so lengthy,
I would like to aid users by including visual clues as to what fields
require information by changing the background color of that field to red."
Michael Winter - 27 Oct 2004 15:56 GMT
[Cross-posted to c.l.js. Follow-ups set to c.l.js.]
[snip]
>> [...] something like:
>>
[quoted text clipped - 8 lines]
>
> It would also be a static solution.
To a certain extent, yes. Scripting could alter the class attribute
dynamically, but in that case, it would be best done entirely dynamically
(unless Chris' suggestion was used).
> He's asking for a dynamic solution, where the appearance of the page
> changes depending on the user's initial interactions.
To be honest, I didn't read the entire original post, just the follow-up
in c.l.js that sent the OP here. I should have.
> If someone directed him here from c.l.js, it must be because he didn't
> understand this.
Perhaps. You'd have to ask that person.
[Changing CSS rules]
>> On some arbitrary run-time trigger, no there isn't, but I don't think
>> that's what the OP is looking for.
>
> It's exactly what the OP said he was looking for.
Then my mistake. I assumed the direction to ciwas was correct.
The optimum solution would depend on the structure of the form.
To the OP: do you have a URL to demonstrate the form?
[snip]
Mike

Signature
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Pierre Goiffon - 28 Oct 2004 10:09 GMT
> It would also be a static solution. He's asking for a dynamic
> solution
(...)
Well I think mutch information is required to give any adapted answer...