Can I build a form and have it use my...

User 188640 Photo


Registered User
895 posts

The title pretty much says it all. I have a very secure php mail script and my clients really like what it does.

I like the responsive forms that form builder makes.

Is there a way to use my php script with the forms that form builder makes?

I'm calling this my form but I didn't create the form, I'm not that advanced.

I did create a contact form using one of the themes and it looks great, it just doesn't work. I know I've probably done something incorrect but the documentation with the CC programs leaves something to be desired at least for the way my brain works. Not saying anything against CC, they have great programs.

It's just when programmers write programs they don't usually have the capabilities to think about the regular people who will be using them. I say that with great respect to the programmers.

So, if anyone can answer my question that would be great.
A Rose is Just a Weed in a Corn Patch!
User 187934 Photo


Senior Advisor
20,271 posts

Yes, I do this for a lot of my forms.:cool:
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 188640 Photo


Registered User
895 posts

Thanks for the answer Eric.

By the way, that's a really good looking sidekick you have there.
A Rose is Just a Weed in a Corn Patch!
User 188640 Photo


Registered User
895 posts

Eric,

Can you help me with the path for my own scripts. I tried replacing the name of the menu builder script with the name of my script and it basically breaks the form.

Ernie
A Rose is Just a Weed in a Corn Patch!
User 187934 Photo


Senior Advisor
20,271 posts

Write your scripts and save it, replacing the existing myformname.php. This way there's no need to alter the myformname/myformname.html.
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 188640 Photo


Registered User
895 posts

I tried renaming my script and that didn't work. When I try that it gives me an error page that says it can't find what I'm looking for.

I think the quick fix would be to be able to have a number field take at least a sixteen number entry. I do want to be able to hook up my script (the one I use but I didn't write it) to the responsive forms.
A Rose is Just a Weed in a Corn Patch!
User 187934 Photo


Senior Advisor
20,271 posts

I would reexport and publish the form so we know all the files are correct.
Now test the form the way it is.
If it works then take your custom myformname.php and save it over top of the current myformname.php.
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 188640 Photo


Registered User
895 posts

Eric,

Thanks. I'll give that a try as soon as I get back from downtown this morning. I'll let you know after I see if that works.

Ernie
A Rose is Just a Weed in a Corn Patch!
User 188640 Photo


Registered User
895 posts

Eric,

I reuploaded the form and it works like it's supposed to work.

I uploaded my script that is renamed to the name of the script that the form builder creates over writing that file.

I think there's a conflict with my script and the web form files.

When I uploaded my script and went to the reservation page I got this:

Please complete the name field
Please complete the email field
Please complete the address field
Please complete the phone field
Please complete the zipcode field

This is what my script will put out if any of the required fields are not filled out. I can't even get to the form on the page.

Is this maybe a path issue somewhere?

My client really likes what I've done for him with this script and he needs for people to be able to send their cc numbers and info. Web form builder will only let up to 999999999 to be entered into the number field. I've tried increasing that to 16 places but the program must be hard coded for that many digits.

Any ideas?
A Rose is Just a Weed in a Corn Patch!
User 187934 Photo


Senior Advisor
20,271 posts

It has to be your myformname.php script not processing the data correctly. Do you get any error_log's on the server?
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

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.