Hi,
I have a form with 5 input fields. In one field I am taking a number as an input. Now I would like to have a pop-up page with some input fields (matching the number entered in the previous field). As the user complete the inputs in this fields, the pop-up window will close, and the previous page will be reactivated. What should be my approach to do this? What should I need here?

Anirban,

To keep it simple, don't use a popup.

Instead, create the fields on the same page as the original form. For example, they can be inserted in a <div></div> element.

It is generally more user-friendly to generate one extra field at a time, so the user does not need to say in advance how many he/she needs.

It is also good practice to provide "remove" buttons (one per input field) in case the user adds too many.

Airshow

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.