Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I use 10 input elements But not use the form tag and submit the data by other programming technique.

My question is can we say programmatically that the collection of the input fields is the form ?
Posted
Comments
Ralf Meier 16-Jul-15 5:52am    
You could ask for the Parent of the Controls.
Do you mean that ?
Member 11687856 16-Jul-15 6:06am    
NO.

I just want to know that if we can say it the form.

I know if we use the input elements with form tag then we can call it form.

But what if we use the input elements without form tag ?
Ralf Meier 16-Jul-15 6:33am    
Sorry ... after your answer I don't know about what you speak ...
What I meant :
Each Control which is placed on a Form (gets Member of the Forms Control-Collection) gets the Form as it's Parent. So you can ask the Control for it's Parent. This all has nothing to do with the Controls Property named "Tag".
Member 11687856 16-Jul-15 7:58am    
I am just asking the definition of form.

I know if we use the input elements with form tag then we can say that the whole collection is form.

But what if we use the input elements without form tag then can we say that the whole collection is form ?
Ralf Meier 16-Jul-15 8:51am    
I'm quiet not understanding what you mean.
Could you try it once more with an example ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900