I am trying to make a feedback form with a xml page that have some email addresses on it. - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

I am trying to make a feedback form with a xml page that have some email addresses on it.

frafra ArkansasPosts: 3Member

My form is going to make sure that there are no empty replies in it and then I need it to check and make sure that the email address on the form is not on the xml page. I think I have the form and the xml page but now I am stuck. Could someone please point me in the right direction? Thank You and any help would be greatly appreciated.

My xml page

<?xml version="1.0"?>
<address>
    <address>
        <email>[email protected]</email>
    </address>
        <address>
        <email>[email protected]</email>
    </address>
        <address>
        <email>[email protected]</email>
    </address>
</address>

My html page

`

Submit! value="address" id="address" onclick="getEmail('address.xml')" />

`

Answers

  • frafra ArkansasPosts: 3Member

    Ok I did that wrong here is my html file: `

    Submit! value="address" id="address" onclick="getEmail('address.xml')" />

    `

  • frafra ArkansasPosts: 3Member

    `

    <form id="contact" method="post" action="">  
        <label for="name">Your Name:</label>  
        <input type="text" name="name" id="name" class="input" />  
         </br> 
        <label for="email">Your Email:</label>  
        <input type="text" name="email" id="email" class="input" />  
         </br>  
        <label for="message">Message:</label>  
        <textarea name="message" id="message" rows="4" cols="40" class="input"></textarea>  
          </br> 
        <input type="hidden" name="contact" value="1" />  
         <button type="submit">Submit!</button> 
         value="address" id="address" onclick="getEmail('address.xml')" />   
     </form>  
    

    `

Sign In or Register to comment.