[ic] ic 4.8.5 - pesky "1" shows up on email form

John Beima interchange-users@interchange.redhat.com
Wed May 8 13:12:47 2002


You know my first responce to this without enough coffee would be you get rid of
it by learning how the command actually works... But that would be rude...

What the 1 means is that the e-mail was sent...

[seti result][email 
to="Feedback@mydomain.com" 
subject="Feedback" 
from="[value email]" 
reply="[value email]"] 
fistname=[value fname] 
lastname=[value lname] 
email=[value email] 
[/email][/seti]

If you change your code just a little like I did above, you will now find the
"1" in a scratch variable named "result". This was you can test to see if your
e-mail was sent or not and react accordingly!

See now that would be the after a couple of cups of coffee responce! (-:


John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com

P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6

Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603



Quoting DB <DB@m-and-d.com>:

> I've been working on setting up a feedback form with the results emailed 
> to me. It works, but the [email]...[/email] tag causes a "1" to be 
> displayed. Very annoying.... how do I get rid of it ?
> 
> My form is very simple... here's the code section from my feedback.html:
> -------begin code section-----
> <form action="[process]" method=post>
> <input type=hidden name=mv_session_id value="[data session id]">
> <input type=hidden name=mv_doit value=return>
> <input type=hidden name=mv_nextpage value=feedback2.html>
> 
> First Name:<INPUT NAME=fname type=text size=15><br>
> Last Name:<INPUT NAME=lname type=text size=15><br>
> Email:<INPUT NAME=email type=text size=15><br>
> <P>
> 
> <input type="image" alt="Search Go" width="57" border="0"
> src="__THEME_IMG_DIR__go.gif">
> </form>
> -------end code section-----
> 
> And here is the section from the feedback2.html where the "1" gets 
> generated:
> 
> ------begin code section--------
> [email
> to="Feedback@mydomain.com"
> subject="Feedback"
> from="[value email]"
> reply="[value email]"]
> 
> fistname=[value fname]
> lastname=[value lname]
> email=[value email]
> 
> [/email]
> ----end codes ection----------
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/