form and html page

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
wb_user
 
 
Posts: 383
Joined: Sun Jul 05, 2015 7:03 am

Re: form and html page

Post by wb_user » Tue Apr 17, 2018 4:24 am

hello pablo ,
can you build a example form work on html page to i learn that ?
i try but i never cant make html page workable form from that time :(

User avatar
Pablo
 
Posts: 17595
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: form and html page

Post by Pablo » Tue Apr 17, 2018 6:00 am

I'm sorry, I cannot create examples for you.

However, the only thing you will need to do is set the form's action to another (PHP) page.

robertz
 
 
Posts: 23
Joined: Sun Jun 26, 2005 9:35 pm
Location: Florida, USA

Re: form and html page

Post by robertz » Tue Apr 17, 2018 7:11 pm

@wb_user

This is a solution from Navaldesign. See the complete post at the bottom!

Re: Help with seperate form mailer from html page please

Post by Navaldesign » Tue Dec 22, 2015 5:57 am
Yes, but there is an even simpler way.

Make your index page .html if you need so.
Create in WWB another page, with a BLANK form, and use the Built in form processor, then set its properties AS IF it was to process your index page form. This page MUST be .php. Name the page "processor" and publish it. Have a look at the page HTML (from inside WWB) and you will see a line of code like this:

if ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['formid'] == 'form1')

Write down the value "form1" or whatever WWB has assigned, you will need it in a few minutes.

Back in the index page: set the form properties as follows:

1. Do NOT set the form to use the Built in form processor.
2. Method = "POST"
3. Action = "processor.php"
4. Encoding type: Multipart / Form data

Add a hidden field in the form, named "formid" and give it the value "form1". This is necessary or the page "processor" will refuse to process the form.

You are now ready. The "index.html" page submits the form data to the "processor.php" page which processes it and behaves just as if you were using the built in form processor directly in the "index" page.



Complete post:
viewtopic.php?f=21&t=69865

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests