[pmwiki-users] mailform recipe

Susan pmwiki at onebit.ca
Thu Mar 2 15:04:47 CST 2006


I filled in all the fields on the form, and still get the error message.

More ideas?

Susan


John Rankin wrote:
> On Thursday, 2 March 2006 8:14 AM, Susan <pmwiki at onebit.ca> wrote:
> 
>>I'm using the emailform_2005-10-19.php 
>>http://www.pmwiki.org/wiki/Cookbook/MailForm
>>
>>sample site: 
>>http://www.onebit.ca/cricket/index.php?pagename=Drafts.Mailform&emailform=error
>>
>>(edit password is " guest ")
>>
>>It tells me an error has occurred.
>>
>>Ideas?
>>
>>Susan
>>
> 
> 
> I think it arises from this line:
>   	if (!$to || !$_REQUEST['text']) $msg = 'error';
> 
> If either the to address or message text is blank, the form returns 'error'.





More information about the pmwiki-users mailing list