Page 1 of 1

Upload Form / From URL or Computer

Posted: Fri Feb 24, 2006 3:56 pm
by nickman013
Hello,

Ive got a form that I would like to have a radio button that hides/shows information.

I want to have them show different things if they are selected.

For example I am making a upload form, I want a radio button to "Upload From CPU" and "Upload from URL" , for uploading pictures. I just need help with getting the radios to show/hide info and uploading a file from URL.

Any help would be great.

Thanks!

Posted: Fri Feb 24, 2006 4:15 pm
by feyd
hook the onchange event on the radio buttons.

Need more of a nudge?
use the onchange to alter the element.style.visibility and/or element.style.display CSS properties to change which is visible.