This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
can fields take the input names yet
Started 16 years ago by expat | 6 posts |
-
can fields in the database take the name of the input fields??
Posted 16 years ago # -
No, MachForm uses 'element_x' field names on purpose to prevent conflict.
MachForm Founder
Posted 16 years ago # -
but why, mysql has it internal checks even if you dont plan to do the checks yourself
Posted 16 years ago # -
Actually, that's the point.
Let say your form is having these fields:
1) First Attendant Name
2) Address
3) Second Attendant Name
4) Addressat this moment, MachForm would create a table with these fields:
1) element_1
2) element_2
3) element_3
4) element_4Now, if you need to name it as the input fields, it would be:
1) first_attendant_name
2) address
3) second_attendant_name
4) addressThus, the conflict between field #2 and #4.
Also, lot of people are using a large input name. It could be a paragraph or two. That would add more problem.
I hope I'm being clear.
MachForm Founder
Posted 16 years ago # -
the problem is that you cant rearrange the entries, and when you try to do so manually in the db you dont know which is which
Posted 16 years ago # -
you should add a second input box to state that it has to be one word and unique
Posted 16 years ago #
Reply
You must log in to post.