alvamgag
06-03-2003, 04:05 PM
Hi All,
I hope someone can help. I know my title sounds
a little confusing, but I will try and explain.
I've created a html form called CPIInfo.html. I would like this form to have a 5 digit number. What I am trying to achieve is the following. And please let me know if this is NOT possible. I would like to have a "SAVE" button on this form. Once you filled in the form and press save, the form should be saved on the HD with the 5 digit number as the document name with extension html. Example, If the first form starts with 10001 as the first 5 digit number, I fill in the form, press SAVE and the form should be saved on the HD as "10001.html". The original CPIInfo.html form will at the same time be reset, but the 5 digit number is now 10002. When it is saved again, it will be saved as 10002.html and the original CPIInfo.html form will at the same time be reset again.
Can this be accomplished by adding a script in the actual CPIInfo.html form or do I need a CGI script?
I apologies for being so long winded, but I hope
someone can help. Again, please let me know if I'm out to lunch on this one.
Thanks for your help.
/alva
I hope someone can help. I know my title sounds
a little confusing, but I will try and explain.
I've created a html form called CPIInfo.html. I would like this form to have a 5 digit number. What I am trying to achieve is the following. And please let me know if this is NOT possible. I would like to have a "SAVE" button on this form. Once you filled in the form and press save, the form should be saved on the HD with the 5 digit number as the document name with extension html. Example, If the first form starts with 10001 as the first 5 digit number, I fill in the form, press SAVE and the form should be saved on the HD as "10001.html". The original CPIInfo.html form will at the same time be reset, but the 5 digit number is now 10002. When it is saved again, it will be saved as 10002.html and the original CPIInfo.html form will at the same time be reset again.
Can this be accomplished by adding a script in the actual CPIInfo.html form or do I need a CGI script?
I apologies for being so long winded, but I hope
someone can help. Again, please let me know if I'm out to lunch on this one.
Thanks for your help.
/alva