Display of form data & amp; emailing even

Environment: DW on Win 32 machine, php, mySql, remote Mac OS x Server.

I have some fairly complex forms that accept text and the blob of data from users. When they "support" data, it must be validated in the database AND some of them sent to the user as well.

Calls for action form a 'Thank You' page' that should actually do the work.

Currently, I can:
(a) correctly display data from the database and the thank you page appears correctly. (but without sending the e-mail)
OR
(b) by e-mail of the user and view the thank you page. (but without display of the data in the database)

When I combine two php scripts into one on the thank-you page, I can publish the data from the database, but the email fails.
My question is: is it possible to do both on the same page, thank you, and if so, what could I do it wrong?

My server relays mail out to my ISP SMTP requires authentication, but I have that works well when I use only the emailing script. It's just at the point where combining validation chores that email fails. Maybe it's a mistake of timing?

Thanks for any idea
Robert

On October 14, 2007 in macromedia.dreamweaver, robertlobsinger wrote:

> My server relays mail out to my ISP SMTP that requires
> authentication, but I have that works well when I use just the
> emailing script. It's just at the time when combining the chores of posting which
> email fails. Maybe it's a mistake of timing?

Probably not.

<>
Code to send emails goes here
Does change all the variables you get posted to the page
?>
<>
Insert here the code to post to the database
Written by you or by DW
?>
" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ".
http://www.w3.org/1999/xhtml">

Thank you
...

--
Joe Makowiec
http://Makowiec.NET/
E-mail: http://makowiec.net/contact.php

Tags: Dreamweaver

Similar Questions

  • sending data to email via the submission form

    I have created a form to fill out and sent via a "submit" button. How can I associate the filled in a specific email data?

    Thank you!

    There are only two ways to process the form data-

    1. use mailto:[email protected] as the action of the form
    ((2 use a script method server side a) collect the form data, b).
    He treats in a certain way, for example, enter into a database, c) develop and
    Send an email to one or more recipients and d) to redirect the visitor
    to a final page

    Method 1 is quite simple and is also the less reliable. It depends on both
    on your visitor with an email client is already installed on their computer-
    This eliminates the public computers or individuals without e-mail clients
    installed (more and more it seems) - and on the installed e-mail client
    in response to
    the appeal of mailto. It is not possible to use this method * and * send the
    visitor to a
    Thank you this page.

    Method 2 is the preferred method, because it eliminates the problems of
    method
    1, but it means that you treat the server somehow (ASP script,
    CF, PHP, perl, etc.).

    2B method would be to use any third party dealing with, as
    http://www.bebosoft.com/products/FormsToGo/, or if your server supports PHP,
    you could investigate http://www.geekministry.com/formbuilder/, a very beautiful
    produced by a poster frequently here.

    You would have to decide which of these methods is best for your needs,
    But if it's the 2A method, then start by asking your host they provide for
    form
    the treatment. If it is 2 b, then carefully read their FAQ/instructions.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "SuperG08" wrote in message
    News:ggens2$b6q$1@forums. Macromedia.com...
    > I have created a form to fill out and sent via a "submit" button. How do I
    > link filled in a specific email data?
    >
    > Thank you!

  • Change email of workflow based on the form data?

    I would like to send for submission of form data to different addresses according to what is selected in a drop in form? Is it possible using Javascript or liquid? Can I change roles or workflows on the fly?

    Thanks in advance,

    Bob Peterson

    Try this:

    Configuration of workflow notifications

  • How to submit form data to the REST 3rd party API service

    Hi guys,.

    It's new to me, so the sample scripts and procedures will be appreciated.

    Problem:

    My client has opted for a more advanced 3rd party CRM solution that uses REST APIs

    They want form data entered (form join us) and submitted to the 3rd party CRM

    Examples of available API CRM scripts are PHP and makes no sense to me.

    It is their example of form and php script.

    Issues related to the:

    (1) how to convert this works in British Colombia

    (2) is it possible to use liquid as a script to make the API calls server side?

    (3) also would like to hide the username token and API?

    Samples:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < style type = "text/css" >

    label, input, textarea {display: block; float: left; width: 150px; margin: 5px ;}}

    label {clear: left; text-align: right ;}}

    input [type = 'submit'] {width: 60px banner; margin: 10px 0 0 165px; clear: left ;}}

    < / style >

    < / head >

    < body >

    Contact us < h2 > < / h2 >

    <! - Edit REQUIRED with the file name of the script if different from the example - >

    < do action = "Solve360ContactSave.php" method = "GET" > "

    < label > (required) < / label >

    < input type = "text" name = "FirstName" value = "" / > "

    < label > name < / label >

    < input type = "text" name = "lastname" value = "" / > "

    < label > title < / label >

    < input type = "text" name = "jobtitle" value = "" / > "

    < label > Business email < / label >

    < input type = "text" name = "businessemail" value = "" / > "

    Note < label > < / label >

    < name textarea = "note" cols = "4" rows = "4" > < / textarea >

    < input type = "submit" value = "Save" / >

    < / make >

    < / body >

    < / html >

    PHP:

    <? PHP

    version 2.0

    All of the placeholders like {property}, {categoryId}, {templateId} expected

    be replaced by actual values without the {} brackets

    REQUIRED with your email address edit

    define ('USER', ' [email protected]');

    Edit REQUIRED by token, workspace > my account > QAnywhere > API Token

    define ('TOKEN', 'life');

    Get request data

    $requestData = array();

    parse_str ($_SERVER ['QUERY_STRING'], $requestData);

    Configure the service gateway object

    need to 'Solve360Service.php ';

    $solve360Service = new Solve360Service (USER, TOKEN);

    //

    Add the contact

    //

    $contactData = array)

    'Name' = > $requestData ["firstname"].

    'name' = > $requestData ["lastname"].

    "jobtitle" = > $requestData ["jobtitle"],

    'businessemail' = > $requestData ["businessemail"],

    Category of OPTIONS apply tag (s) and set the owner for the contact from a group

    You will find a list of identifiers for your labels, the groups and users in the workspace > my account > QAnywhere

    To activate this option, delete the following text:

    /*

    Specify a different property for example share item

    'property' = > {property},.

    Add categories

    'Catégories' = > array)

    'Add' = > array ('category' = > array ({categoryId}, {categoryId}))

    ),

    */

    );

    $contact = $solve360Service-> addContact ($contactData);

    If (isset ($contact-> error)) {}

    Post yourself if errors occur

    mail)

    USER,

    "Error when adding contact to resolve",

    ' Error: '. $contact-> errors-> asXml()

    );

    Die ('system error');

    } else {}

    Get the new contact params of the answer

    $contactName = (string) $contact-> article-> name;

    $contactId = (integer) $contact->-> id;

    You post the result

    mail)

    USER,

    "New contact added to solve."

    'New contact' '. $contactName. "" with the id '. " $contactId. "has been added to Solve360.

    );

    }

    //

    OPTION add an activity

    //

    /*

    * You can set an activity on the contact you created

    * This example shows how to create a Note, to enable this feature just uncomment the following application

    */

    /*

    Preparation of data for the note

    $noteData = array)

    'details' = > nl2br ($requestData ['notes'])

    );

    $note = $solve360Service-> addActivity ($contactId, 'note', $noteData);

    You post the result

    mail)

    USER,

    "Note was added to" "." " $contactName. "" contact to solve ","

    'Explanation '. $note-> ID "has been added to the contact with the id". $contactId

    );

    End of the addition of note activity

    */

    //

    OPTION of inserting a business model

    //

    /*

    * You can also insert a template directly into the contact that you just created

    * You will find a list of identifiers for your models in the workspace > my account > QAnywhere

    * To enable this feature, just uncomment the following application

    */

    /*

    Beginning of the application model

    $templateId = {templateId};

    $template = $solve360Service-> addActivity ($contactId, 'model', array ('templateid' = > $templateId));

    You post the result

    mail)

    USER,

    "Model has been added to" "." "" $contactName. "" contact to solve ","

    'Model with id '. $templateId. "has been added to the contact with the id". $contactId

    );

    End of the model application

    */

    ? >

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < / head >

    < body >

    Result of < h2 > < / h2 >

    Thank you < p >, < b > <? PHP echo $contactName? > < / b > < / p >

    < p > your data has been successfully saved. < /p >

    < / body >

    < / html >

    You cannot use the server host-side or liquid code on BC for this.

    You need to be to have some sort of configuration to point to a 3rd party solution that sends data on them or you need to implement and solution from API to API.
    A form will create a deal (or order if take payment) and you can have the BC API sends a url to the notification when cases are triggered. With your own code solution read you cases, get those to the shape you want and send the information to the 3rd part of the data structure they need.

  • When I complete and sign a form and then print it out, the form data does not print.

    When I complete and sign a form and then print it out, the form data does not print. The form fields are empty with the exception of any signature.

    Thank you. Depending on your answer, I have compiled a procedure:

    Fill & sign a form in Adobe CD and print the form fields:

    (1) open the document.

    (2) click on tools - prepare the form. All fields are displayed in a vertical list in the bottom right of the screen.

    3) click on the first field in the list, scroll to the bottom of the list and shift-click to select all.

    4) click on the first field in the document, make a right click, select Properties.

    (5) on the general tab, uncheck the box locked in the lower left corner. Under field properties common form, select Visible and uncheck the read-only box, close.

    (6) print out and save the file.

    Note: even if you select all the fields in the document in step 3, this procedure may work for the fields on page 1. In this case, repeat steps 3 through 5 for each subsequent page.

  • Form data not shown unless the cursor in the field

    .PDF with the form filled in will not display or print form data when open with Windows and Reader 8.1.

    Display and print are OK on Mac OS X with Reader or preview.

    other files created and downloaded from the web site even did not have this problem.

    File transferred as a piece attached and copied by react "sneaker net" the same on several PC.

    move the cursor to any field filled shows data only when the cursor is in the field.

    Opening a PDF form in preview it corrupts and causes the behaivour you describe. You can correct the form using this tool:

    http://blog.practicalpdf.com/2013/08/introducing-the-practicalpdf-fix-form-utility/

    In the future, avoid using Preview if it is possible.

  • When I download always little matter that downloads in the form of itunes file, even if it's a photoshop file. How to make a photoshop file to download in format photoshop?

    hen I always download little matter that downloads in the form of itunes file, even if it's a photoshop file. How to make a photoshop file to download in format photoshop?

    For example when I go to this site http://www.envelop.eu/design/templates I can't download these templates. They are confused white pieces of paper and are registered as itunes. He never gives me an option I want to download the files under. ARgh, please help.

    Also, I can't get to the itunes page. It lights up I see pictures and then it simply disables the images and it is just empty but there still the topics. I can play my music but I can not download music or to use the site.

    Either by the way, I have Vista I've ever wanted...

    Hello

    ·         You did it changes on your computer?

    ·         What browser do you use to download files from the internet?

    ·         Were you able to open files in Photoshop and iTunes successfully before?

    ·         In turn the images out on the site ITunes is only on the ITunes site?

    What happens when you click on the. File PSD that is downloaded should open Photoshop or iTunes, if it opens with iTunes and then try to change file associations and see if it works.

     

    Change the program that opens a type of file

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-the-program-that-opens-a-type-of-file

    If steps above has not fixed the problem followed the steps as shown below:

    To set file Associations in Windows Vista

    1. Click Start and click on Control Panel

    2. click on default programs

    3. click on Set Associations.

    4. Select a file type in the list and click the change program.

    You will be displayed a list of programs as well as a Description and the current default. You can click the change program to set or change the current default settings.

    For Web site problems, please follow the procedure according to the link below:

    Internet Explorer is slow? 5 things to try
    http://Windows.Microsoft.com/en-us/Windows/help/Internet-Explorer/slow-five-tips-to-boost-performance

    Hope this helps

    Kind regards

    Kiki

  • How to display the hidden files and folders even if I've already enabled "Show hidden files, folders and drives" to "Advanced settings"?

    How to display the hidden files and folders even if I've already enabled "Show hidden files, folders and drives" to "Advanced settings"?

    After I enabled "Show hidden files, folders and drives" in 'Advanced settings', I can't yet see in the folder but I know there is a file in this program of WinRAR folder form as pictured below where I opened the case both at the same time.

    Hope you can help in this case...

    It would be possible that the file is marked as a system folder (which is just a check box in properties such as the hidden check box). So in your folder options, uncheck the "Hide protected operating system files" and see if it will be visible.

    Or another thing to try: remonter back a level, hold down SHIFT while you right-click the complete file and choose "Open command window here", then type DIR to see if the file is listed.

  • Automate the name of file with form data

    We seek to use Adobe sign for our forms of active release in our office - everything is going well so far, I was just wonder if there is a way to change the file name of the completed form using the form data?

    For example, once the form has been signed, it is just registered as 'agree active form' - However, before signing, we find the serial number of the asset and the user, it is associated with. Is it possible for the file name automatically and then say "Okay - USER - active form SERIES" or even simply the username if possible?

    Thanks in advance.

    Hi Matt,

    Who is currently not possible, but is a pretty good enhancement request... I hope that it is picked up for implementation very soon.

    Thank you

    Sameer Puri

  • Double post of form data in Eloqua and SFDC

    Our SFDC admin wants to move to display all form both Eloqua and SFDC data, and to make the list of all imports in SFDC. His team has already found the 3rd party systems to counter problems of duplication in SFDC de-duplication. As Eloqua user, I find the process of taking a step backwards in our marketing automation process. Any of you have experience with dual signage? Reasons for or against it?

    Although it is possible with a re-post form I would advise against. I had similar discussions where people are not familiar with the benefits of an integrated between Eloqua and SFDC flow.

    The biggest limitation for me is that Web-to-lead in SFDC cannot accept as 500 prospects in a 24 hour period (out of the box he used to 500 per day, you can increase but at a cost)

    I would try to understand the concerns importance than what does Eloqua is just a call API with SFDC (pretty standard stuff and more robust than the Web-to-lead). Looks like they care about duplicates. Watching the process today - are you creating a new every delay of performance, or you are only creating a lead when a contact does not exist (this will reduce dupes, but can give you others challenges in terms of visibility of these contacts - depends on the appearance of your sales team in call lists.) If they use only lead views, could be a problem).

    List of imports - this should be good. Many SFDC admins using tools such as PeopleImport to handle the loads list and can manage settings to avoid duplication, do not create a lead when a contact already exists, etc.

  • How to export form data to Excel in E10?

    What is the easiest way to export form data to excel?

    Thank you!

    go to assets--> forms--> find your form of "open an existing form"--> once you access the form, click on the gear icon for settings for the top right--> click on 'presentation of display data'--> down to the left, you will see an option to export--> click on it and choose excel...

  • Form will not email, ISP won't help

    Hi guys, I followed this tutorial to create a form: http://www.peachpit.com/articles/article.aspx?p=1332862 but when it comes to getting the content form sent by e-mail, the tute said to insert just a URL. And even if the tute is supposed to show the example code for the author, it is not for me.

    Well, I contacted my host server that directed me to this page: http://dl.getdropbox.com/u/403824/iseve_script.jpg (screen capture page is accessible only with log in details - hope you can read it).

    So I choose my "submit button", click on Tag Editor/entry/events and pasted the text in the onClick event, and downloaded the form of.

    Unfortunately, nothing happens when I click 'submit' and server hosts are not useful, because they say that it is a coding problem, although they wrote code!

    If anyone has the time or desire to go here http://12bar.co.nz/queen_entry I would really appreciate if you could tell me where I went wrong with my code. (please do not judge the design - I want to get the form to run before I turn to the aesthetics).

    Thanks in advance,

    JO

    Is iserve.co.nz your web hosting provider?

    Looking at your code, you have certain characters that should not be there and some things in the wrong place. This gives a test:

    your form tag reads:

    change to:
    http://www.iServe.co.nz/scripts/formtomail/formproc.php">

    your submit button reads:
    http://www.iServe.co.nz/scripts/formtomail/formproc.php"METHOD ="POST"ENCTYPE =" multipart/form-data">

    change to:

    Good luck!
    Elaine

  • Details of the form sent to email

    Hello

    I created a form and I want the details of the form to send to an email address.  I put the email address in and tested the details to my email as an attachment named POSTDATA.  How can I get the details to go directly into the email as an attachment.  There is also a field to upload a file and I want this file to be an attachment to the email.

    The form is http://www.locumexpress.ie/online%20registration.html can someone tell me how to do this.

    Thank you

    Natasha

    You will need something a little more "robust" than to the action of a form e-mail address if you want to support the upload of a file.

    An address using e-mail as the action of the form is a little hit and Miss when the form data handling.

    Your server supports a server like php language?

    If she then takes a look at this free mail Manager (link below). It is easy to implement since it comes with full pdf instructions.

    http://www.MindPalette.com/scripts/index.php#PFAnchor

  • Send pdf form data to sql database

    Where can I find detailed information about the process of sending the pdf form data stored on the Web site of the sql database stored on the web server? Where I can find some samples, I could use to build my form and script related.

    Thanks for the tips.

    Tony

    If you want the form to communicate directly with the DB, you need to configure a DSN on each of the machines, which will take place in the form. Note that this wil only work on Windows machines. Also, the form must be started for the script runs (you mentioned the PDF has been stored on the web server). I have some examples that show how to deal with a DB, but attachments do not seem to work properly on the forum yet. If you cannot retrieve post them your email and I will send them to you directly.

    Paul

  • How to display the current date in a textfield?

    Hi all

    I have a textfield, and it is a part of the P18_DOJ page. By defalut that I want to display today's date to the textfield and it is should be readonly. How do I do that?

    Put "Select sysdate from dual;" as the source SQL Query type and "readonly" in the field of the HTML Form element attributes.

Maybe you are looking for

  • Does anyone know what code error on a classic 160gig 1429? boot woot, woot connect to the mac, iTunes, restoration of woot

    160g iPod classic my wife completely. get it connected once tried a restore toure has failed with an error code 1429, followed not to recommend it than apple, no chance and now it does not connect to mac (iTunes) so can't do anything. If I knew what

  • signal of reverse USRP

    Hello!! I'm trying to built a small radar with the USRP 2920... but I have a problem. I connect the two ports of the USRP (TX1-RX2) with a cable with low loss of 50 cm... after transmission of a chirp signal, sometimes I found my IDE oucederomsurlese

  • Power supply Mini 210

    I'm trying to find the plug for a Mini 210-1032 DC. I.e., Volts, polarity of centering pin and Amps max.

  • maximum number of processes windows xp professional

    The computer that I used to work has a windows 32 - bit XP OS with between 70-77 processes running simultaneously. As I am disabled, I am almost totally dependent on voice recognition for the operation of this computer software. I had very little suc

  • problem with photosmart 7280

    I have a photosmart 7280 I used with windows for a year, I just got an imac with osx 10.5.6 I installed it and everything works except print I can print a test page but of other prints just stop in the queue, I uninstalled and reinstalled, I have res