Forms Data

  • Thread starter Thread starter Thor
  • Start date Start date
T

Thor

In FrontPage 2003, I want to send form data to different files depending on
the users' input in the form. Anyone?
 
Requires server side scripting using whatever script language your host
supports - asp, asp.NET, PHP etc.
 
OK, thanks, that's a start.

My site has the scripting (uses .asp). So now what do I need to do?

V/R

Thor
 
Your script needs to look at whatever criteria (form field contents?) is
used to discriminate between files, and choose the file name
accordingly.

For example: (using a select field in the form for the criteria)

<%
Select Case request.form("selectfieldname")
Case "A"
Filename = "acasia.txt"
Case "B"
Filename = "Bergundy.txt"
Case Else
Filename = "Miscellany.txt"
End Select

'send form data to Filename

--
Ron Symonds - Microsoft MVP (Expression)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 
Back
Top