[ASP] Re: [ASP] G�stebuch
daniela froehlich
activeserverpages@glengamoi.com
Fri, 20 May 2005 10:00:21 -0700 (PDT)
Hi
Beinahe hat es gefunzt, musste weiter unten noch was
anpassen :-)
Noch eine Frage. Wenn ich jetzt zusätzlich den
Kommentar Pflicht machen will, kann ich das so machen:
If "Yes" <> strFinal Then
> If "" = strName Or "" = strComment Then
> Response.Write "Please fill in all the fields with
> correct information."
Danke und Gruss
Daniela
--- Marco Rey <multitrust24@yahoo.de> wrote:
> Hi
>
> So anpassen:
>
>
> If "Yes" <> strFinal Then
> If "" = strName Then
> Response.Write "Please fill in all the fields with
> correct information."
>
> Habe es nicht getestet! Sollte aber so funzen...
>
> --- daniela froehlich <designorart@yahoo.com>
> schrieb:
> > Hallo Zusammen
> > Habe mir das G�stebuch von
www.aspgerman.com
> > heruntergeladen und eingesetzt.
> > Leider verstehe ich nicht den ganzen Code.
> > Das G�stebuch verlangt den Eintrag einer
> > Email-Adresse. Diese Funktion m�chte ich
aber
> > ausschalten, weiss aber nicht wo.
> >
> > Die L�sung liegt sicher irgendwo in diesem
> Bereich:
> >
> > strFinal = Trim(Request.Form("FinalSubmit"))
> >
> > strComment = Trim(Request.Form("Comment"))
> > strName = Trim(Request.Form("Name"))
> > strEmail = Trim(Request.Form("eMail"))
> > strURL = Trim(Request.Form("URL"))
> >
> > If "Yes" <> strFinal Then
> > If "" = strName Or Len(strEmail) < 6 Or 0 =
> > Instr(strEmail,"@") Or 0 = Instr(strEmail,".")
> Then
> > Response.Write "Please fill in all the fields
> with
> > correct information."
> > Else
> > %>
> > <p>Please check your entry:</p>
> > <ul>
> > <li>Your name: <%=SafeHtmlEncode(strName)%></li>
> > <li>Your email: <%=SafeHtmlEncode(strEmail)%></li>
> > <% If strURL <> "" Then Response.Write "<li>Your
> > webpage: http://" & SafeHtmlEncode(strUrl) %>
> > <% If strComment <> "" Then Response.Write
> "<li>Your
> > comment: " & SafeHtmlEncode(strComment) %>
> > </ul>
> > <p>If everything is correct please click "submit"
> > otherwise go back to the <a
> > href="cguestbook.asp">Guestbook</a>.</p>
> >
> >
> > Bin f�r jede Hilfe dankbar!
> > Liebe Gr�sse
> > Daniela Fr�hlich
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> > _______________________________________________
> > ActiveServerPages Mailingliste, Postings senden
> an:
> > ActiveServerPages@glengamoi.com
> > An-/Abmeldung und Suchfunktion unter:
> >
>
http://www.glengamoi.com/mailman/listinfo/activeserverpages
> >
>
>
>
>
>
___________________________________________________________
>
> Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher
> kostenlos - Hier anmelden: http://mail.yahoo.de
> _______________________________________________
> ActiveServerPages Mailingliste, Postings senden an:
> ActiveServerPages@glengamoi.com
> An-/Abmeldung und Suchfunktion unter:
>
http://www.glengamoi.com/mailman/listinfo/activeserverpages
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250