Page 1 of 1

html form

Posted: Wed Aug 20, 2008 11:53 am
by stanleycwb
Hi, i encountered some difficulties when doing a html form.

I will have many similar fields.

job1
a:
b:
c:
d:
e:

job2
a:
b:
c:
d:
e:

job3
a:
b:
c:
d:
e:

but i think that it waste space and is not user-friendly. so im thinking of either using collapsible menu or linking method.

collapsible menu
+job1

+job2

+job3

or

job1
a:
b:
c:
d:
e:

more

submit clear

when "more" clicked, it will open another window and then to here

job2
a:
b:
c:
d:
e:

job3
a:
b:
c:
d:
e:

submit clear

and then once they press submit, it will not execute the codes 1st and will save them and redirect back them to the previous page and then when they click on the submit in the 1st page, the codes will then executed.

Is it possible to do these?
Anyone can help me?

Re: html form

Posted: Wed Aug 20, 2008 12:27 pm
by jayshields
stanleycwb wrote: and then once they press submit, it will not execute the codes 1st and will save them and redirect back them to the previous page and then when they click on the submit in the 1st page, the codes will then executed
Sorry, you lost me there. Can you rephrase that? You should also post some code too so we can see what you're trying to do.

Re: html form

Posted: Fri Aug 22, 2008 11:08 pm
by stanleycwb
never mind. I change my plan.

I have decided to make it like if i select on a check box, some fields will be deactivated.(like those that become a bit grey and cannot select anything, write anything on it) unless we unselect the checkbox.

there will be like 2 checkboxes.

[ ]Further studies
Name of course [_____________]
Name of institution [__________________]
description [_________________________________________________]

[ ] Work
Working industry [_______________]
Working_Department [____________________]
Job_position [____________________]
Description [__________________________________]

all fields will be not active other than the check boxes. Once we select the future studies option, then name of course, institution, and description will be active and could fill in the fields. But if we untick the check box again, it will become inactive again.
Same goes with the work option.

Anyone can help me?
I need help urgently!
Thanks!