fully ajax controlled application form

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ozkanozlu
Forum Newbie
Posts: 2
Joined: Tue Mar 13, 2012 9:12 am

fully ajax controlled application form

Post 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.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: fully ajax controlled application form

Post 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.
ozkanozlu
Forum Newbie
Posts: 2
Joined: Tue Mar 13, 2012 9:12 am

Re: fully ajax controlled application form

Post 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 :)
Post Reply