dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: Question form submission

  1. #1
    Join Date
    Jan 2016
    Posts
    2

    Question form submission

    Evening all and hello

    ill start with apologizing if this has already been answered but i've been looking for a solution now for 3 days and my head hurts

    my problem is this

    i have a pre written word doc with multiple questions on it some are text boxes that require filling insome are just the empty dot that requires a mouse click

    i have added a save button at the bottom of the form that will send the form with all the data via email (macro)

    but when i convert it to HTML the macro is deleted

    is there a way round this ?

    or how do i covert my doc to HTML and add a button again that will

    1. email me the whole doc once filled in

    or

    2. save a copy of the form on my server (preferred option) (but would require auto save file names dependent on job estimate number one of the questions on the form)

    there are possibly 20/30 forms a day to be submitted hence option 2

    i have a paid hosting site where i run my booking site from and can host the page from there i just need the know how

    my PHP skills are limited so be nice please

  2. #2
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    3,837
    Not sure but if you wrote a macro then why didn't you write JavaScript and HTML in an editor and not a word document...

    If you are producing a WEB form that is not going to be HTML then you really should be using PDF format, it is the de-facto standard document that is readable on ALL computers when adobe reader is installed, how many people do you know who have a microsoft word? I don't know any people in my friends circle that do. They all have PDF readers.

    Newer versions of word will produce PDF files and these can be made so that the client can save data and do what you need and have the item emailed to you and this can also be done within the PDF document.

    Like any help on this forum, it is not a "Free coding" forum, its a help forum, so if you have code you need to post it and state where the issue is, see my signature for forum tags for wrapping code, html, php...
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

  3. #3
    Your question is important to us. Due to the large volume of e-mails we are currently receiving it may take us 2 to 3 business days to respond. You can also check our FAQ page for immediate answers to most of your questions.

  4. #4
    Join Date
    Jan 2016
    Posts
    2
    Right so heres what i have so far

    i now have my document displayed as i need it and i can edit as required

    only issue now is when i hit the send button it just sends a empty mail from my account to the designated recipient

    Below is my HTML code i think is the issue any advice is much appreciated whole page is to big to copy into here

    <p class=MsoNormal><span lang=EN-GB><o>&nbsp;</o></span></p>

    <form method="post" action="MAILTO:mike.davis@kelly.co.uk" >
    <input type="submit" value="Send Email" />
    </form>

    </html>

    as i said it sends a mail not a problem it just will not take the form with it

  5. #5
    Join Date
    Dec 2015
    Posts
    16
    check out http://www.html-form-guide.com/email...mail-form.html you will have to use a server side script to email a form.

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