• I have recently updated the theme on my website and now I can’t get the HTML to embed directly on my site.
    <!– BEGIN DJEVENTPLANNER CODE –>
    <form method=”post” action=”https://djplanner.info/contactus.asp ” style=”margin:10px 20px;” onSubmit=” if (!(this.full_name.value.length>0)) {alert(‘Please enter your name’);this.full_name.focus();return false;} if (!(this.email.value.length>0)) {alert(‘Please enter your email address’);this.email.focus();return false;} if (!(this.message.value.length>0)) {alert(‘Please enter your message’);this.message.focus();return false;} return true;”>
    <div>
    <div>
    <p><label>Name</label></p>
    <input type=”text” id=”full_name” name=”full_name” placeholder=”Your Full Name”>
    </div>
    <div>
    <p><label>Email</label></p>
    <input type=”email” id=”email” name=”email” placeholder=”Email Address”>
    </div>
    <div>
    <p><label>Message</label></p>
    <textarea name=message rows=”4″ cols=”35″> </textarea>
    </div>
    <button type=”submit”>Submit</button>
    </div>
    <input type=hidden name=showlogo value=false><input type=hidden name=action value=process><input type=hidden name=djidnumber value=16236><input type=hidden name=source value=””>
    </form>
    <!– END DJEVENTPLANNER CODE –>
    Is the code that I am trying to insert into my page.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @djwonderboy.net
    try this code (just changed the way some quotation marks are written)

    <form method="post" action="https://djplanner.info/contactus.asp" style="margin:10px 20px;" onSubmit="if (!(this.full_name.value.length>0)) {alert('Please enter your name');this.full_name.focus();return false;} if (!(this.email.value.length>0)) {alert('Please enter your email address');this.email.focus();return false;} if (!(this.message.value.length>0)) {alert('Please enter your message');this.message.focus();return false;} return true;">
    <div>
    <div>
    <p><label>Name</label></p>
    <input type="text" id="full_name" name="full_name" placeholder="Your Full Name">
    </div>
    <div>
    <p><label>Email</label></p>
    <input type="email" id="email" name="email" placeholder="Email Address">
    </div>
    <div>
    <p><label>Message</label></p>
    <textarea name=message rows="4" cols="35"> </textarea>
    </div>
    <button type="submit">Submit</button>
    </div>
    <input type=hidden name=showlogo value=false><input type=hidden name=action value=process><input type=hidden name=djidnumber value=16236><input type=hidden name=source value="">
    </form>

    Works for me…

    Thread Starter djwonderboy

    (@djwonderboy)

    I tried copying and pasting the code that you provided and continue to receive the same error. Expected closing tag. Unexpected end of file.

    Without seeing it, I don’t know how to help you. There must be something wrong with the syntax. As the above works for me, I can’t see what else could be wrong. Sorry.
    Maybe you can make a screen recording of you entering the code? That might help us see what is wrong.

    Thread Starter djwonderboy

    (@djwonderboy)

    I have made a screen recording to show the issue that I am having. However I am not sure how to get it to you? I have had a friend who builds websites test the code and I know that the code itself is not the issue as it works fine outside of my website. For some reason when I post it in the site, it doesn’t save or it saves with an error. The issue is with putting the code into wordpress. I have no other way to explain it.

    Hi djwonderboy,
    ok… before you upload a video, please deactivate all other plugins and try again. If it works for me and your friend, it might also be a plugin issue.
    Something about YOUR Setup seems to be different.
    So please deactivate all plugins except Beaver Builder and you might also want to try using a different theme.
    Let us know if that did any good! Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘HTML won’t save using Beaver Builder’ is closed to new replies.