Dynamic forms ???

Dynamic forms ???

am 24.09.2007 04:39:05 von Phil Latio

Has anyone got any good advice on how to create dynamic forms?

I am creating a subscription form where the subscriber selects which level
of service they will have and depending on the selection they made,
additional boxes to appear. If they go for a more expensive service, they
can enter more details. It is basically a directory application.

Am I right thinking this is AJAX because I am not pressing refresh for the
boxes to appear? If so, which is the best newsgroup for AJAX (since I can't
find a dedicated group), this one or the comp.lang.javascript instead?

Any tips or links appreciated.

Cheers

Phil

Re: Dynamic forms ???

am 24.09.2007 05:35:55 von Macca

I dont think you need AJAX for this, just plain javascript.

try comp.lang.javascript


Regards,

Paul

Re: Dynamic forms ???

am 24.09.2007 07:55:49 von Phil Latio

"macca" wrote in message
news:1190604955.609879.41570@57g2000hsv.googlegroups.com...
>I dont think you need AJAX for this, just plain javascript.
>
> try comp.lang.javascript
>
>
> Regards,
>
> Paul

Thanks. I shall have look at Javascript. I've never been too keen on client
side scripting, especially since finding IE and Firefox browsers use
different Javascript standards.

Cheers

Phil

Re: Dynamic forms ???

am 24.09.2007 08:45:39 von Courtney

Phil Latio wrote:
> "macca" wrote in message
> news:1190604955.609879.41570@57g2000hsv.googlegroups.com...
>> I dont think you need AJAX for this, just plain javascript.
>>
>> try comp.lang.javascript
>>
>>
>> Regards,
>>
>> Paul
>
> Thanks. I shall have look at Javascript. I've never been too keen on client
> side scripting, especially since finding IE and Firefox browsers use
> different Javascript standards.
>

Yes,indeed.

However its not TOO hard to achieve what you want.

Just make sure you have every browser imaginable at your fingerrtips to
test with.

> Cheers
>
> Phil
>
>

Re: Dynamic forms ???

am 25.09.2007 14:49:13 von Scott Wertz

The Natural Philosopher wrote:
> Phil Latio wrote:
>> "macca" wrote in message
>> news:1190604955.609879.41570@57g2000hsv.googlegroups.com...
>>> I dont think you need AJAX for this, just plain javascript.
>>>
>>> try comp.lang.javascript
>>>
>>>
>>> Regards,
>>>
>>> Paul
>>
>> Thanks. I shall have look at Javascript. I've never been too keen on
>> client side scripting, especially since finding IE and Firefox
>> browsers use different Javascript standards.
>>
>
> Yes,indeed.
>
> However its not TOO hard to achieve what you want.
>
> Just make sure you have every browser imaginable at your fingerrtips to
> test with.
>
>> Cheers
>>
>> Phil
>>
>>

when dabbling in the dark side (javascript) i find it better to use a
wrapper library and let them do the cross-browser stuff, try:

Prototype http://www.prototypejs.org/
MooFX http://moofx.mad4milk.net/

There are many others.

This blog article looks quite good on validation using Prototype, will
have to read that myself ;-)

http://www.tetlaw.id.au/view/javascript/really-easy-field-va lidation

Hope that helps.

Re: Dynamic forms ???

am 25.09.2007 15:10:48 von Captain Paralytic

On 24 Sep, 06:55, "Phil Latio" wrote:
> Thanks. I shall have look at Javascript. I've never been too keen on client
> side scripting, especially since finding IE and Firefox browsers use
> different Javascript standards.

Err, how do you think AJAX is achieved then!