Q: Trying to reuse Form on several pages, with different Form Prop

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've got a survey that users fill out with thier contact info, addr, etc.

We use it for several things (contacting us for info, downloading a trial,
requesting a catalog). In each instance, the page we redirect them to is
different. (I.e., if downloading a trial, we show them the "downloads" page,
if req catalog we show them "your catalog will arrive in 1 week", etc.)


So... now we've got 4 copies of the survey. I want to unifiy them so we have
ONE copy. But each survey form needs different survey variables. Namely, the
"next_url" needs to be diferent.

One way I'm thinking of doing this is to have:

Page

<Form>
< include=Part_of_form //this will have all the text fields,
etc.>

</Form>

However, this doesn't seem to be working. When I preview locally, it's
fine. But when uploaded, it shows just the text of the Include command, not
the page that should be included.

Any suggestions?
 
Not sure I understand it?
1. Are all form fields the same expt for the form name?

2. Or MOST form fields are the same?

3. Also, are all current forms postibg to the same page?

4. Do you want to consolidate to a fingel page single form? Or to sever
pages that inluded (re-use) html code

For number 4, if your server supporst sever site inludes you can do this
(in psei dode )

[begining form]
[some form code]
<!--#include file="somefile"-->
[some form code]
[end of form]

...PC
 
Back
Top