hi everybody
i am designing a application that is a client management system. now ours is a web based company so one of the details i have to store is their domain details.. now i want to make a control such that initially my form which will be used to feed the data, should show just one row where i will have three text boxes stating the domain name, renewal date. hosting renrewal date.
now what i want is that i should have an option(an ' add domain' button kind of thing) that if a particular client has more than one domain then on clicking the button i have another row added beneth the first one. the same way i should be able to add as many domain details the client have.
but unfortunately i just have an idea of what i want but none of how to get it. i need your help so plz help me
thanks in advance
creating run time controls
Moderator: General Moderators
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact:
sorry for cross posting
i m very sorry for cross posting .
however it was nothing intensional. as i was just trying to find a solution to my problem. but i never meant to do anything wrong. will make sure that i wont repeat it. but from my side it was just like to asking my queries to my two seniors.
sorry again for the problem created by me.
however it was nothing intensional. as i was just trying to find a solution to my problem. but i never meant to do anything wrong. will make sure that i wont repeat it. but from my side it was just like to asking my queries to my two seniors.
sorry again for the problem created by me.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Don't worry about the cross-posting. 
As for your original issue: it can be done via Javascript like n00b suggested, but it can also be done via php. Using session variables to store previous changes you can keep all the old sets of textboxes. Clicking the "add" button would submit the existing form prompting the system to store the information, output it again with an added table row. This allows for Javascript to be off, yet still give the basic appearance of the same thing (albeit with added page requests). Once finalized, they can use a different button that actually stores the additions. If they close the browser, those changes won't be recorded.
As for your original issue: it can be done via Javascript like n00b suggested, but it can also be done via php. Using session variables to store previous changes you can keep all the old sets of textboxes. Clicking the "add" button would submit the existing form prompting the system to store the information, output it again with an added table row. This allows for Javascript to be off, yet still give the basic appearance of the same thing (albeit with added page requests). Once finalized, they can use a different button that actually stores the additions. If they close the browser, those changes won't be recorded.