How to make a custom contact form in Adobe Muse

ronpershing.com

If you are anything like me (a designer who has been fighting with code half his life) the idea of Abobe Muse is a blessing. But like any other software it takes a while to perfect. And it’s hard to keep up with all those other nerdy web developers.

Contact forms are an essential part to a good website. The current version of Muse has a contact form widget but the customization is not great and you can not use your email address unless you host your site with Adobe’s Business Catalyst.

This is a simple solution that uses some HTML and CSS to craft entry lines and a submit button. Every other style you want to include can be done in Muse.

STEP 1

In Muse go to object>insert HTML

Muse Menu

and copy and paste the code below:

    

    <style type="text/css">

    textarea { background-color: #FFFFFF; border: 1px solid #CACACA; padding: 3px; margin: 2px 0 33px 155px; width: 547px; height: 76px; font: 14px Lato, sans-serif; }

    form { font: 12px Lato, sans-serif; font-weight: bold; color: #214598; }

    #submit-button { width: 140px; height: 50px; color: #FFFFFF; background-color: #0071BC;  margin: 2px 0 8px 155px; font: Lato, sans-serif; font-size: xx-large; font-weight: bold; cursor: pointer; }

    #submit-button:hover { background-color: #1065BC; color: #FFFFFF; cursor: pointer; }

    input { background-color: #FFFFFF; border: 1px solid #cacaca; padding: 3px; margin: 2px 0 8px 155px; width: 547px; height: 24px; float:left; font: 14px Lato, sans-serif; height: 25px; }

    </style>

    <form method="post" action="send_form_email.php">

    <input type="text"  name="name" value=""  />
    <br>

    <input type="text" id="email" name="email" value="" />
    <br>

    <input type="text" id="phone_number" name="phone_number" value="" />
    <br>

    <textarea  name="comment"> </textarea>
    <br>

    <input type="submit" value="Send" id="submit-button" />

    </form>

STEP 2

Click ok, Muse will generate a preview that will only contain text boxes and a submit button.

Contact Form Image

You can adjust the size by editing these elements:

width: 547px; height: 76px;

STEP 3

You can adjust how many text boxes you want by copying this code and adjusting the name and id fields. Make sure you add the appropriate fields in the above areas also.

  <input type="text" name="name" value="" />

    <br>

STEP 4

Now design your form how ever you would like using Muse. (Place items over and around the HTML box)

Custom Muse form finished

STEP 5

Here’s the worst part. We need to edit this java script file a bit. First copy and paste the code below into a word processor

<?php

$EmailTo = "ron@ronpershing.com";
$Subject = "You got a contact from RonPershing.com!!!!!";
$name = Trim(stripslashes($_POST['name'])); 
$email = Trim(stripslashes($_POST['email'])); 
$phone_number = Trim(stripslashes($_POST['phone_number'])); 
$comment = Trim(stripslashes($_POST['comment'])); 

// validation
$validationOK=true;
if (!$validationOK) {
  print "<meta http-equiv=\"refresh\" content=\"0;URL=error.htm\">";
  exit;
}

// prepare email body text
$Body = "";
$Body .= "Name: ";
$Body .= $name;
$Body .= "\n";
$Body .= "Email: ";
$Body .= $email;
$Body .= "\n";
$Body .= "Phone: ";
$Body .= $phone_number;
$Body .= "\n";
$Body .= "Comment: ";
$Body .= $comment;
$Body .= "\n";

// send email 
$success = mail($EmailTo, $Subject, $Body, "From: $Email");

// redirect to success page 
if ($success){
  print "<meta http-equiv=\"refresh\" content=\"0;URL=/thank-you.html\">";
}

?>

Next change the email address in the parenthesis to your email address. And the subject to whatever you want.

$EmailTo = "ron@ronpershing.com";

Change the fields accordingly (anything with a “$” in front of it). Lastly change the URL here to your thank you or confirmation page. If none just delete it.

print "<meta http-equiv=\"refresh\" content=\"0;URL=/thank-you.html\">";

 

UPLOAD

Save the word doc as: send_form_email.php. Make sure you upload send_form_email.php in the same directory as the index.html and you’re done!

If you have any questions or need help contact me here.

Did you like this post? Share It!FacebookTwitterLinkedInGoogle+Pinterest

Ron Pershing

Graphic Designer
Hello, I am a graphic designer, problem solver and digital artist from Milwaukee WI. I'm currently hunting for challenging new freelance, graphic design or web design projects. Don't hesitate to contact me if you would like to discuss an idea.

Latest posts by Ron Pershing (see all)

52 Comments on “How to make a custom contact form in Adobe Muse
  1. Hi, I use your contact form, it’s works great.
    But i have trouble with my languages (norwegian) special symbols, how to fix that? TIA

  2. But, markets zagreb you are not overly volatile and show a
    tendency to trend. You need not squander extra cash for the contracted goods.
    There has also been large. Free markets, he said, 30 years later, it’s not the only
    show in town. Each online issue features four stories,
    and may be unable to get to know about the markets zagreb
    others’ existence.

    My website Money 4 You Kearns

  3. This is great! I’m testing it now and it seem’s to be working almost perfectly for me.

    The only change I made was I reference the php file at assets/send_form_email.php – that way I can just include it as a muse asset for upload.

    The only thing happening for me is that When i send myself a test, it appears to come from “(unknown sender)” when receiving via a gmail account. Any clue as to how to get the actual persons email who submitted the form (as they entered it) to appear there?

    thanks again!

  4. The participants were interviewed every two years over a six-year period beginning in
    1992 about their health and medication that is required for truck insurance its maintenance.
    Residents in other insurance or Medicare plans are free to consult
    equity release guide for the truck insurance novice. It would be fun
    to watch them stab each other in 2008, Mr. The society,
    which has enabled us to achieve truck insurance a
    sale at a premium despite continuing difficult financial markets.

  5. 1 Ron to Another,
    FYI-The site that’s up now was created by a first timer. I’m currently building something a bit “fresher”.
    I’m no programmer, although I’ve built 30 some odd sites. Most WYSIWYG. I’ve used wuhoo, and google forms, but all were simple forms. 3-4 inputs and done. I now have to build a more complex form with 30-40 elements/txt inputs. I’m fairly quick to grasp most anything, hence my site building. I wanted to know if the txt input areas that need to “POST” in the email sent to me from the site are recorded in the send_form_mail.php “EXACTLY” how they are named in the form? ie: caps, spaces, even slashes or hyphens that are in the form? ie: email body setup..
    $Body .= “2 Position/Title: “;
    $Body .= $2 Position/Title;
    the spaces and slashes are ok? or should the spaces be underscores and slashes hyphens instead.
    Same with the POST commands ie:
    $2 Position/Title = Trim(stripslashes($_POST['Position/Title']));

    is this ok?
    Desperately Trying to meat a deadline…help!!
    and Thank you in advance for your help. I’d be dead in the ocean with 1 oar without people like you!
    Ron Morris

  6. He said the bill could be considered a moving violation with a $30 fine plus court costs.

    The judges heard that Christie is coaching around 12 athletes for the Olympics, who are undertaking
    the large amount of fuel underneath the bus was a serious fire hazard, investigators said.

  7. I see you share interesting stuff here, you can earn some additional
    cash, your blog has huge potential, for the monetizing method, just type in google – K2 advices
    how to monetize a website

  8. I read a lot of interesting content here. Probably
    you spend a lot of time writing, i know how to save
    you a lot of work, there is an online tool that creates unique, SEO friendly posts in minutes, just search in google –
    laranitas free content source

  9. Generally I do not read post on blogs, but I would like to say
    that this write-up very forced me to check out and do so!

    Your writing taste has been amazed me. Thank you, quite
    great article.

    Feel free to visit my webpage: web Page

  10. I read a lot of interesting content here. Probably you spend
    a lot of time writing, i know how to save you a lot of time, there is an online tool that creates high quality, SEO friendly articles in minutes,
    just search in google – laranitas free content source

  11. After study some of the articles on the site today, and that i really enjoy the right path of blogging. I tag it to my bookmark website list and checking back soon. Pls visit my internet site also and figure out your thought.

  12. Hi webmaster do you need unlimited content for your page ?
    What if you could copy post from other sources,
    make it unique and publish on your blog – i know the right tool for
    you, just search in google:
    kisamtai’s article tool

  13. This article is very interesting, but is hard to find in google.
    I found it on 20 spot. You can reach google top-10 easily using one useful wordpress plugin and increase
    targeted traffic many times. Just search in google for:

    Aemikimi’s Rank Plugin

  14. i didnt understand what to do with this peregrafh

    Change the fields accordingly (anything with a “$” in front of it). Lastly change the URL here to your thank you or confirmation page. If none just delete it.”

    ????

    i only cahnged the email name ‘ and it didnt work!?
    help plz

  15. Having a big issue with this website contact form on this particular website, I been using a MUSE for the past year and I have never had an issue with any of the contact forms until now. I’m not receiving any of the emails send from the site. I have change the MX records to “Remore” and change the setting on my email to non-spam. Any other ideas to solve this issue.

  16. I’m greener than green when it comes to coding and I’ve followed your step by step instructions above, but I’m stuck on the “Upload” step. I’ve changed the coding to send to my e-mail and everything else in Microsoft Word, but how do I save this file as a .php?
    Thanks

    • step one: Save as:= Alt F A
      Step two: In file name space type “your file name.php” leave out the quotes.
      Done. open the file in a browser.

      They truly couldn’t make it easier even if it was through telepathy.

      • I really appreciate the help Johnt and Ramart, I figured out how to create a .php file using notepad so I’m on my way. Just need to place it in my site index or label it as an asset to get it to work.

        Thanks again!

  17. Hey, I think your website might be having browser compatibility issues.
    When I look at your website in Ie, it looks fine but when opening in Internet Explorer, it has some
    overlapping. I just wanted to give you a quick heads up! Other then that, very good blog!

  18. Admiring the dedication you put into your blog and detailed information you offer.

    It’s great to come across a blog every once in a while that
    isn’t the same outdated rehashed information. Wonderful read!
    I’ve saved your site and I’m adding your RSS feeds to my Google account.

  19. This design is spectacular! You obviously know
    how to keep a reader entertained. Between your wit
    and your videos, I was almost moved to start my own blog (well,
    almost…HaHa!) Great job. I really loved what you had to say, and more than that,
    how you presented it. Too cool!

  20. So now you know the stomach could become sensitive not just to the properties of foods generally speaking but also with foods combined together in the
    stomach which a large amount of times are inside wrong combinations.
    Regular or frequent use of medications for example anti-inflammatory
    medications, pain relievers and the like are viewed to get one with the causes of stomach ulcer.
    Now, the following is where I emphasize the significance of not taking any pain medication.

  21. Sure, it could look small, and grim, but you have reached your ideal of an prime living space understanding that desk will certainly add on the macabre feel.

    In the email, the scammer may request you to definitely signing
    in for a online account using the email. These are comparatively less expensive plus their cartridges might be got refilled with minimal prices.

  22. If you are looking at adding ETFs for a 401(k) plan, you have to be informed about what your recordkeeper
    charges for making use of those assets inside your
    plan. The present church was constructed between 1931-42 and is nicknamed Hha Tho Con Ga because from the bronze
    rooster (con ga) weathervane added to top of the company’s bell
    tower. The architects were a father and son team – Giovanni and Bartolomeo Bon,
    who also, in addition, labored on the Doge’s Palace.

  23. Do you want to post your business on 1000′s of Advertising sites monthly? Pay one low monthly fee and get virtually unlimited traffic to your site forever!For more information just send an email to: ernest7867bro@gmail.com

  24. Are motorists communal across users upon Windows 10, or can a user have got a driver installed
    that other users usually do not? I have a tablet that will require driver A, and
    if any various other tablet driver (such as for
    example driver B) can be set up, driver A will minimize operating until driver B is certainly uninstalled *and* driver A
    is uninstalled and reinstalled. I have a different kind of tablet that
    uses driver B that I would still like to make use of alongside the various other.
    If… show more a pc has just ONE set of motorists for ALL Users.

    A pc can have MANY users, and you ought to will have TWO configured,
    one for normal everyday make use of and one in the event you cant login on your
    own normal one. You can also utilize the
    fact that ANY user may INSTALL software program(which usually needs admin authorization) and you should
    ALWAYS choose a Custom made install, if provided that option) so that you
    can install that software ONLY for THAT user.
    that method any bad installation would not be
    applied to your 2nd USER you retain for when factors go wrong.
    as for drivers, you really cannot simply swap factors in and
    out without messing stuff up, this is mostly because a DRIVER has a 2nd
    part to it, thats the HARDWARE RESERVATIONS it creates in the system.
    This makes it difficult when something goes incorrect and
    because some equipment has been RESERVED which means a fresh driver cannot be installed as the
    previous one had not been successfully removed fully releasing the RESERVATION of the machine RESOURCES.

    So motorists are in too low an even to permit two conflicting applications that are looking
    the same resources to work, and resources get ALLOCATED Prior to you LOGIN.

  25. Hi!

    I was just looking at your website and saw some things that might need some help. Some parts of your site might need improvements or a redesign to address the needs of your business and your clients.

    Most modern websites have helpful features that can make a huge difference on how potential clients see their business. With these, you’ll be able to attract more people and get your online conversion rate (website visits compared to the number of sales made) a significant amount of growth. I’m an expert web designer working from home. My specialization is giving my clients the best user-experience for their customers, so they’ll keep coming back for more.

    I have worked with many different companies from the past. I could show you what I did for their website and how they gained substantial profit from the redesign. Would you be interested for a free consultation over the phone? I look forward to sharing some ideas with you. Talk to you soon!

    Sincerely,
    Edgar Dean

  26. I think my car electric battery is dead it it okay to
    employ a 30 yr old battery charger? My car wont start.
    And my father comes with an old electric battery charger that i
    dont think has been used for years. Is it ok if i replenish the electric battery with that?
    Ought to be ok. Probably not overnight in case it overcharges the electric battery.
    Modern chargers reduce the charge instantly.
    A 30 season old you can not.

  27. Tired of paying for clicks and getting lousy results? Now you can post your ad on 1000s of advertising websites and you only have to pay a single monthly fee. These ads stay up forever, this is a continual supply of organic visitors!

    To get more info take a look at: https://bit.ly/rapid-ads

  28. Hello,

    My name is Maricela Remington, and I’m a SEO Specialist.

    I just checked out your website ronpershing.com, and wanted to find out if you need help for SEO Link Building ?

    Build unlimited number of Backlinks and increase Traffic to your websites which will lead to a higher number of customers and much more sales for you.

    SEE FOR YOURSELF=> https://bit.ly/3dhrKtA

    Do not forget to read Review to convince you, is already being tested by many people who have trusted it !!

  29. Hi, I was just checking out your site and submitted this message via your contact form. The contact page on your site sends you these messages to your email account which is why you are reading my message right now right? This is half the battle with any kind of advertising, making people actually READ your ad and this is exactly what you’re doing now! If you have an advertisement you would like to blast out to tons of websites via their contact forms in the US or to any country worldwide send me a quick note now, I can even focus on particular niches and my prices are very reasonable. Shoot me an email here: Benja57mik57@gmail.com

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>