I would like to submit the form to another file.
I saw two other users have already asked about this here:
phpclasses.org/discuss/package/1/th
...
and
phpclasses.org/discuss/package/1/th
...
The suggestion was to do the form building & processing in the same script.
And then when the form has been processed include the page wanted.
The problem with this is that the URL does not match the actual content.
For example addtask will normally display the form, then submit to itself and a list of tasks are shown (because this is what i want after the form has been submitted). Now the URL is still addtask and not as listtasks as i want it to be.
I don't understand why it is recommended to submit to the same page, does the form class break if spread out over 2 pages??
There are a lot of examples excluded but nearly all (but a special one) have action="", so there are no examples how to submit from one page to another. I wonder if the normal example is split over 2 pages, 1 for the form, 1 for processing, which code is required in each page.
I will attempt to figure this out myself, i think i can do it. Though i would like to suggest if the class is updated to include one example of submitting to another page.