Search found 11 matches

by lapuella
Dec 21st, '13, 03:19
Forum: ApPHP DataForm
Topic: Email confirmation to the sender
Replies: 7
Views: 5842

Re: Email confirmation to the sender

I use a mailadres that is the same as the domainname, but still getting the error: Email has not been sent! Please check your parameters. What am I doing wrong? $dform->AllowEmailNotification(true); $dform->EmailNotificationSettings(array("email_from"=>"info@content-webdesign.nl"...
by lapuella
Dec 5th, '13, 20:35
Forum: ApPHP FormBuilder {developers/users}
Topic: Mail headers
Replies: 12
Views: 22381

Re: Mail headers

Thank you, it works now! :)

I copied the unexpected ) code with error from: viewtopic.php?f=75&t=4344
Maybe you can change the code there.
by lapuella
Dec 3rd, '13, 21:26
Forum: ApPHP FormBuilder {developers/users}
Topic: Mail headers
Replies: 12
Views: 22381

Re: Mail headers

I use version 2.0.1. I believe this is the latest version. When I use the code suggested on another topic (http://www.apphp.net/forum/viewtopic.php?f=75&t=4344), I get also a Fatal error: Call to a member function SetEmailSubject() on a non-object in .... This is the code I use: <!DOCTYPE HTML> ...
by lapuella
Dec 1st, '13, 13:48
Forum: ApPHP FormBuilder {developers/users}
Topic: Mail headers
Replies: 12
Views: 22381

Re: Mail headers

I changed the code in FB_letter_class.php, but still getting the error:
Fatal error: Call to undefined method FB_Form::SetFrom() in......

Is it possible that you post the code of a working example, so I can see what I am doing wrong?
by lapuella
Sep 26th, '13, 00:35
Forum: ApPHP FormBuilder {developers/users}
Topic: Load values from database in form
Replies: 5
Views: 9106

Re: Load values from database in form

Great, it works now! Thank you very much! This did not work correct, the 'datum' (value) was showing, but 'activiteit' (option) not. while($row = $result->fetch_array()) { $rows[$row['datum']] = $row[$row['activiteit']]; } This works correct: while($row = $result->fetch_array()) { $rows[$row['datum'...
by lapuella
Sep 23rd, '13, 18:47
Forum: ApPHP FormBuilder {developers/users}
Topic: Load values from database in form
Replies: 5
Views: 9106

Re: Load values from database in form

Thank you very much for answering my question. I don't understand how I can pass the array to the form. Do you have a example how to do that? I use the following code: $mysqli = new mysqli("localhost","username","password","database"); $query = "SELECT ac...
by lapuella
Sep 17th, '13, 01:22
Forum: ApPHP FormBuilder {developers/users}
Topic: Captcha
Replies: 3
Views: 8149

Captcha

It would be very nice if it is possible to include a captcha code in Formbuilder in the future.
by lapuella
Sep 17th, '13, 01:02
Forum: ApPHP FormBuilder {developers/users}
Topic: Mail headers
Replies: 12
Views: 22381

Re: Mail headers

Thank you. But I don't understand it yet. First I tried: $from = "info@company.com"; $form->getEmail()->SetFrom($from); That doesn't work. Then I tried: $from = 'MIME-Version: 1.0' . "\r\n"; $from .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $from .= 'From...
by lapuella
Sep 13th, '13, 10:38
Forum: ApPHP FormBuilder {developers/users}
Topic: Load values from database in form
Replies: 5
Views: 9106

Load values from database in form

Is it possible to load values from a database into a select or checkbox field?
Is it possible to use your own html or php code between the fields in the form?
by lapuella
Sep 12th, '13, 18:21
Forum: ApPHP FormBuilder {developers/users}
Topic: Problem with mail verification
Replies: 3
Views: 7822

Problem with mail verification

Mail verification doesn't seems to work correct, my own mailadress contains a - (minus sign) in the domainname and is not validating correct. I changed the code to: if ( !preg_match('/^[A-Za-z0-9](([a-zA-Z0-9_\.\-]+)*)@[a-z0-9\-.]+[a-z]{2,6}$/', $this->value, $matches) ) { $this->_HasError(new Valid...

Go to advanced search