Page 1 of 1

fully ajax controlled application form

Posted: Tue Mar 13, 2012 9:38 am
by ozkanozlu
Hi everyone,

This is my first question and this question is for why i am here.

I can say I am OK at PHP but for AJAX I am a newbie. So, I want to design a web form (application form) which collects personal and experimental information about my school's teachers and students. One of the question is "Which Languages do you know and can you rate it?"

I want applicant to select the language from a combobox and rating from another combobox then to click "add" button. After that the information will be added another listbox below those comboboxes. if I try hard i could make it.

The problem's core is here: If I want to add this info into DB (MySQL) how can i take all the info?

langsknown.png:Image

Maybe the picture will be better to explain the problem.

Re: fully ajax controlled application form

Posted: Tue Mar 13, 2012 10:03 am
by Celauran
That's a select box, not a combo box. That aside, what code do you have now? Do you want to dynamically add more select boxes when the user clicks add, and then update everything in the DB once the form is submitted? The more detail you provide about what you're trying to do and how, the better we'll be able to help you.

Re: fully ajax controlled application form

Posted: Tue Mar 13, 2012 10:11 am
by ozkanozlu
I am coding with PHP. That select box below will be used only to show the languages which applicant knows just for visualization. But now I have got an idea. I could create an array variable. As I am showing the languages to the user, I can assign each language info into that array for each Add button click event occurs using jQuery. I will share the results. But I am still open to new ideas, different visions.
Thx.

In other words I need a component like datagridview. But I will try it in other ways. I think my way is going to darkness :)