Contact Form - in Madison Hotel Theme

User 2119480 Photo


Registered User
78 posts

Hi everyone
I am using RSD V2.5 - build 2332, to edit the RSD Version 1 theme, Madison Hotel. No problems as such with the editing, i'm mainly replacing one thing with another, of like file type.
I was wondering if anyone would know how to edit the 'Contact Us' form so that it actually works - what needs to be changed / added / deleted? I'm guessing it is some of the design elements for each box, name, email and submit but I'm not sure which.

Incidentally, if anyone else is using this theme, i strongly recommend purchasing CC Content Slider so that you can edit the sliding pics on the main page - so easy to do with CC CS.

Kind Regards
Tony
Pt Augusta
South Australia
User 122279 Photo


Senior Advisor
14,649 posts
Online Now

Don't know that particular theme, but common for them all is that you can make a form look ok, but it has no 'back end', that is a php script that makes the form work. And the reason for that, as far as I have heard, is that one form can be very different from another form, and it would be impossible to have a script for each and every variation. So a workaround, as I've been told (but not tried yet is to build the same form in CC Form builder, and then use the script from that and add it to the form built in RSD. That would probably mean adding some php code into every input field.
I so wish that someone would come up with a tutorial for that!
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 283347 Photo


Registered User
388 posts

where does one find that theme? How do I know if I have all themes available to me? I see several, but most are the ones that have been around a long time. I do not see that theme in my RSD.

Thanks,
MJ
User 53435 Photo


Registered User
79 posts

Building a contact form is easy. It is what you do with the data that you collect on submission that will determine what your action script does. Also, the inclusion of reCaptcha on the form requires a little processing on submission as well.

For example:
In the <form> tag, set the action to an external script:
<form class="form-container" method="post" enctype="multipart/form-data" action="contactform.php" id="contact">

All the rest of the work on submission is now done in this external script.
In my case, I store the data in a database as well as send out an email to a set of recipients, once the reCaptcha is verified to reduce bot spam. This is all written in php and maintained separately from the RSD project, and boils down to a few simple functions:
check_recaptcha();
save_message();
send_emailmessage();

After processing it returns to whatever form you want to load next.





User 10077 Photo


Senior Advisor
1,096 posts

Tony wrote:
I was wondering if anyone would know how to edit the 'Contact Us' form so that it actually works - what needs to be changed / added / deleted? I'm guessing it is some of the design elements for each box, name, email and submit but I'm not sure which.


If you have Web Form Builder, I suggest reconstructing the form and then using an html element to put the form on the page. That will be easiest.
ASK ME ANYTHING
I provide personalized help for Coffeecup Users including personal or group training for Site Designer, Web Form Builder and more via Zoom.
Email me at support@uscni.org or call 865-687-7698.

Did you know that Web Form Builder can be used for both simple and complicated forms and that it's not limited to the default fonts and buttons? Take a look at a form we developed for WindowTinting.com.
https://forms.windowtinting.com/forms/w … ppingcart/
User 53435 Photo


Registered User
79 posts

Brian Durfee wrote:
Tony wrote:
I was wondering if anyone would know how to edit the 'Contact Us' form so that it actually works - what needs to be changed / added / deleted? I'm guessing it is some of the design elements for each box, name, email and submit but I'm not sure which.


If you have Web Form Builder, I suggest reconstructing the form and then using an html element to put the form on the page. That will be easiest.


Except it provides no code to process the form when submitted.
That is where the php backend coding comes in.
User 2699991 Photo


Registered User
5,397 posts

Geoff Swan wrote:
Brian Durfee wrote:
Tony wrote:
I was wondering if anyone would know how to edit the 'Contact Us' form so that it actually works - what needs to be changed / added / deleted? I'm guessing it is some of the design elements for each box, name, email and submit but I'm not sure which.


If you have Web Form Builder, I suggest reconstructing the form and then using an html element to put the form on the page. That will be easiest.


Except it provides no code to process the form when submitted.
That is where the php backend coding comes in.


Brian's suggestion is the easiest & best way to Go Tony

It takes care of all the back-end php stuff for you
Wayan (now back into the land of the living)
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 2119480 Photo


Registered User
78 posts

mark johnson wrote:
where does one find that theme? How do I know if I have all themes available to me? I see several, but most are the ones that have been around a long time. I do not see that theme in my RSD.

Thanks,
MJ


It is one of the themes in RSD V1
Pt Augusta
South Australia

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.