Submit Button - SELECT instead of INSERT

User 2796854 Photo


Registered User
44 posts

Hello,

Anyone know how to make the submit button in WFB act like a Select vs an Insert?

I tried by adding my custom PHP in the form (both in an element and in the actual html file but submit button in WFB seem to always want to INSERT into the database vs SELECT.

WFB makes it very easy to create an account registration form - It submits nicely to the mysql db.

I managed to create a stand alone login php file but not I am trying to incorporate the login.php into the WFB form the I created for registering the user.

Any advise is greatly appreciated.
User 122279 Photo


Senior Advisor
14,454 posts

How about using the radio buttons or check boxes for selecting things?
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2796854 Photo


Registered User
44 posts

Inger wrote:
How about using the radio buttons or check boxes for selecting things?


Hi Inger, not sure how that would help me.


I created a webworm that has directions and the user has the option to register to login.

1. Register portion - works falsely and easy.
2. Loginportion - I tested the login php as a stand alone and works great.

Objective: I want to insert the login script onto the Signup page. A much cleaner implementation.


The problem: when I try to login fro the new hybridized WFB Form - Signup continue to work but logingnerates an error because its trying ti INSERT the login values into user table.
User 187934 Photo


Senior Advisor
20,190 posts

You won't be able to use any of the php used in the formbuilder files. Make your login form with the form builder and replace the myformname.php with your custom php processing page to get the users logged in.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2796854 Photo


Registered User
44 posts

Thanks guys. Working on a work around... Cheers!!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.