www.webdeveloper.com
Results 1 to 5 of 5

Thread: Forms

  1. #1
    Join Date
    Jun 2003
    Location
    Wales
    Posts
    3

    Forms

    Hi all. This is my first visit to this forum and I need help. I am very new to html and script writing. I have downloaded html scripts from javascript.internet.com to be able to add simple feedback forms to my website www.foto-artdesign.com The problem is I can get them to appear on the site but I can't get them to work i.e. send the message to my email address. Can someone help me set this up. I would be very grateful. I know its a pain for those experienced but we all have to start somewher. Also, do I need scipt on the actual server for this to work or will it work from embedded script on page alone? Thanks, Tony.
    Attached Files Attached Files

  2. #2
    Join Date
    Nov 2002
    Location
    Dartmoor [Holiday]
    Posts
    2,382
    I think you need to change the line
    <form name=form onSubmit="return checkFields();">
    to
    <form name="form" onSubmit="return checkFields();" action="mailto:sales@foto-artdesign.com">

    This will display a warning box to the user, then send the email using their mail client. Alternatively, find out if you can get a server-side script to submit the email from your website host.

    Hope this helps

    Adam
    "If youíre not using valid HTML, then you havenít created a Web page. You may have created something else, but it isnít a Web page." - Joe Clark

    Do something amazing (USA) | Make Poverty History

  3. #3
    Join Date
    Jun 2003
    Location
    Wales
    Posts
    3
    Thanks Adam for replying. Your last comment is I think what I need. Where can I get the script? I would prefer the customer to write message in a form and send directly from the form, not open up default email.

    Tony.

  4. #4
    Join Date
    Nov 2002
    Location
    Dartmoor [Holiday]
    Posts
    2,382
    It depends on what languages you have available on your server, such as PHP, ASP or Perl. Find out which server-side languages your host supports, then search for a "form-to-mail" script in that language.

    Adam
    "If youíre not using valid HTML, then you havenít created a Web page. You may have created something else, but it isnít a Web page." - Joe Clark

    Do something amazing (USA) | Make Poverty History

  5. #5
    Join Date
    Jun 2003
    Location
    Wales
    Posts
    3
    Thanks Adam. I have PHP. I will see what I can do.

    Cheers, Tony.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles