A
Asaf Asaf
Hi all,
I have a problem, I have table such that each line on it is textfield
(something that I defined). I want to make a button, which isn't the
'submit' or 'reset' button, such that when I click on it, a new line on
this table will be made.
After big number of attempts I succeed making two forms, such that on
one form I have 'submit' button, that clicking on it update the page
with a new line, my problem is : if someone write something on the table
(on one of the text-fields) then clicking on this button won't save the
data that he entered. and because the 'submit' button that responsable
to the new line isn't in the form of the table, I can't get the data of
the table using cgi.params[...] after the refreshing of the page with
the new line.
if anyone have any solution to my problem, or if someone knows how to
continue my solution such that it will finally work, I will be
thankfull.
p.s : any helpfull data about the using of buttons in CGI will be great
too...
Asaf
I have a problem, I have table such that each line on it is textfield
(something that I defined). I want to make a button, which isn't the
'submit' or 'reset' button, such that when I click on it, a new line on
this table will be made.
After big number of attempts I succeed making two forms, such that on
one form I have 'submit' button, that clicking on it update the page
with a new line, my problem is : if someone write something on the table
(on one of the text-fields) then clicking on this button won't save the
data that he entered. and because the 'submit' button that responsable
to the new line isn't in the form of the table, I can't get the data of
the table using cgi.params[...] after the refreshing of the page with
the new line.
if anyone have any solution to my problem, or if someone knows how to
continue my solution such that it will finally work, I will be
thankfull.
p.s : any helpfull data about the using of buttons in CGI will be great
too...
Asaf