468,532 Members | 1,708 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,532 developers. It's quick & easy.

Deactivate few fields in the form while inserting a record

subashini Thiyagarajan
Hi ,

In ASP how to deactivate few fields while inserting a record to the database(access).

i want to insert a record.e.g having 5 fields.it is not reqired to fill all the fields in a form as per my condition.upon first filed selection(drop down) remaining field should show or deactivate how to dooooooooooooooooooo?

As per the dropdown selection we shoud control the text boxes in the form.same time which ever text box in visible those data only we required to take it to database..
Dec 23 '06 #1
7 1813
its so simple u can use the SQL statment UPDATE <table name> set <Field name>=<'value'>, like this u can type the field name and the values...
Dec 29 '06 #2
thanks for your reply.

I am aware of update statement my question is not that.update is backend process.what i required is in order to get the input value itself i want to make visible of the fileds in the form.

those fields suppost to me auotmatic of their visiblity as per the list box selection.

e.g i have one list box and 10 text boxes in the form.Generally all text boxes are visible.

as per the drop down selection i want to deactivate few fields those inputs are not necessary to fill.

i don't want to defaultly deavtivate the text boxes.depends on the selection sometimes 1 and 6th.or some time 7th and 8th like that.

u got it.still more explanation needed
Jan 2 '07 #3
271 100+
y can't u do using if condition checking your listbox values.
Jan 2 '07 #4
how to do? ok i am getting the list box value what code u use to deactivate?


disabled="disabled" is used to deactivate

how i'll pass the value to the input tag.please explain
Jan 4 '07 #5
271 100+
refer to ur thread "list box selections should decide the textbox display" there i have posted the reply which will apply for this also. try it and reply.

Jan 4 '07 #6
hi everybody i'm a new guy.....
Jan 9 '07 #7
271 100+
hi everybody i'm a new guy.....
welcome canarias,
to this new world . vbmenu_register("postmenu_2299164", true);
Jan 10 '07 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.