Skip to main content
Participating Frequently
August 15, 2019
Question

Contact Form troubles [Branched from Input Tag Accessibility Attributes]

  • August 15, 2019
  • 2 replies
  • 381 views

I'm having this same problem with DW CC. All my contact pages are no longer working on my website as of August 12, 2019. I'm currently redesigning them using a mailscript.php for the first time. I cannot find the Tag Accessibility Attributes box at all. It appears I must create an ID in one of the text fills of my form for the mailsript.php to work properly. I do not see this ID in the properties panel. However, a video on YouTube is showing the ID area using the Tag Accessibility Attributes box. Can anyone put me in the right direction?

Thanks

    This topic has been closed for replies.

    2 replies

    Jon Fritz
    Community Expert
    Community Expert
    August 15, 2019

    There are many ways to add IDs to html items in the current version of DW

    1. Right click the element in Design View and choose ID then add a UNIQUE value (IDs can't be repeated on any given page)
    2. Click the item to select it in Live View, click the + in the blue tab, then add #youridename to the text field that appears
    3. Select the item and click the HTML button in the Properties window, then add an ID to the ID field
    4. Add them directly in the Code View as id="youridname"

    Participating Frequently
    August 16, 2019

    Thank you, Nance. This Helpfull

    Nancy OShea
    Community Expert
    Community Expert
    August 15, 2019

    I've branched this to a new topic for you because the thread you resurrected is 7 years out of date and not relevant.

    An input ID is simply a unique ID that is referenced by the form processing script.

    As an example, the IDs for each input field are shown below in red.

    <!doctype html>

    <html lang="en">

    <head>

    <meta charset="utf-8">

    <title>HTML5 Form</title>

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1">

    </head>

    <body>

    <form role="form" method="post" action="form_to_email_script.php">

    <label for="fullname">Name:</label>

    <input type="text" id="fullname" name="fullname" placeholder="First & Last" required><br><br>

    <label for="email">E-mail:</label>

    <input type="email" id="email" name="email" placeholder="you@domain.com" required>

    <br><br>

    <label for="comments">Comments:</label>

    <textarea name="comments" rows="4" id="comments" placeholder="Comments"  required ></textarea>

    <br><br>

    <label for="human">Human or Bot:</label>

    <h3 class="human">Six + 6 = ?</h3>

    <input type="number" id="human" name="human" placeholder="Enter sum">

    <br><br>

    <label for="submit">

    <input type="submit" id="submit" name="submit"></label>

    </form>

    </body>

    </html>

    Nancy O'Shea— Product User & Community Expert
    Participating Frequently
    August 15, 2019

    Thanks and thanks for puting it in a newer thread.

    Sent from Yahoo Mail on Android

    [E-mail copy removed by moderator.]