HELP With Dreamweaver Contact Page

I what I want to do is once the user fills in the form like the attachment.  The user clicks the submit button and then a "contact us" webpage opens in the browser and their name and stuff populates a regular contact us webpage made like this http://dreamweaverspot.com/adobe-dreamweaver-tutorial-contact-forms/ is what I am following.  In the attachment have the user enter their name (John Doe) and click a done button and have John Doe appear on the Dreamweaver form.  Then use something like formmail.php so when the user clicks send email their info is already entered and all they have to do is click the button
PDF File Here

I don't use GoDaddy but the comments below the tutorial did seem to indicate that there were problems with email.
GoDaddy is a very good registrar. I, personally would not recommend them for hosting, having on numerous occasions seen clients and potential clients with websites that did not load, loaded slowly, seemed to not work and so on. If they're limiting what you can do with php (or any server-side code) without making a clear alternative for you, then they're too limited to use for a website. And that comment is not aimed at GoDaddy, it's aimed at any web hosting provider that limits their clients in some way that makes websites not work.
If you know ASP or ColdFusion a web host that does not provide that kind of support is not for you.
I would mention that you can create a complete form without doing any programming for a web host that supports php on the formmailmaker.com website. You can also find good php code in all sorts of places that will make just about anything you need.
And if you're still stuck, you can hire someone to do that kind of work.

Similar Messages

  • I need help with a 1 Page Form with scrollable text field (5000 limit characters) and printing

    Hello, I have no training in using Adobe Acrobat Pro or Livecycle Designer so I need major help with a 1 page form that I am attempting to create. Basically the form will be used to nominate employees for a Job Well Done Award.
    The form contains the following:
    1.) The name(s) of the employees being nominated and the date of the accomplishment.
    2.) In the middle of the page I have a section for a write up, limited to 5000 characters, this is were I am needing the most help. A couple of things, about this section: The font is set at 11 and I don't want it to change. The text field has multiple-line, scroll long text enabled. The text field is a certain size and can only hold so much text, then it starts to scroll, which I am ok with, I like that feature. The issue I am having is during printing. I would like to keep the text field scrollable but when I print I would like to be able to print everything in that field. Executing this is the problem, I have no clue how to do it. I was hoping for some setting within Acrobat Pro or LiveCycle to be available, but the more I read and research this, it appears that it may require java, xml, basically some coding. I don't know for sure.
    3.) Below the text field I have another field for the person nominating to type their name and right next to that another field for a digital signature.
    4.) And finally below those two fields I have a Submit button that is setup to start email application so the form can be emailed to the proper inbox.
    Thank you in advance.

    With an Acrobat form the only thing you can do is export the text to
    another location (like a blank field on another page) or to another file
    format. With an LCD form you can expand the text box itself, but you'll
    need to ask about that over at the LCD Scripting forum.

  • Help needed getting contacts page to work

    Hi there,
    I’m new to flash programming, so please bear with me.
    I bought a flash template to customise to use for our wedding
    website. I’ve got pretty much most of it done, all except the
    contacts page, which I can’t get to work.
    I think I’ve narrowed the problem down to the feed into
    send_mail.php script, but any suggestions would be greatly
    appreciated (before my future wife kills me for wasting so much
    time on this when we could have got a simple html website –
    but where would be the fun in that?!)
    I've attached the Action script behind the contacts page
    (please excuse the Spanish – for some reason the scripts are
    littered with it – for those who need to know, boton =
    button, listo = ready, nombre = name, cuadro = picture).
    From what I can gather, the first bit deals with what happens
    when you click on the buttons (name and email), the second bit is
    for error checking what’s entered, such as whether the email
    address has a @ or .com. The last bit is to feed the results into a
    php file, which should forward the contents of the contacts page to
    me.
    Here’s my send_mail.php file
    <?php
    $nombre=$_POST['name'];
    $email=$_POST['email'];
    $phone=$_POST['company'];
    $comentarios=$_POST['msg'];
    $to="[email protected]";
    $subject="From flash form";
    $headers="From: \"$name\" <$email>";
    $message = "Company: $company\n\n";
    $message .= $msg;
    mail($to,$subject,$message,$headers);
    ?>
    And I've put this php file in the same directory of my
    website as all the other swf and fla files – is that correct?
    Should this work? Or have I made a mistake anywhere?
    Many thanks
    DM

    Okay is the php script you have included here, THE actual
    script that is on your website? (unchanged in it's contents)
    Because where it says:
    $to="[email protected]";
    You have to change that to your email, or the email you want
    the form contents to send to.
    -Yes you will put the .php file in the same directory as the
    .swf file-
    Also you need to check that the variable and instance names
    in the flash file match the names in the .php file.
    Example:
    "mail.nombre = nombre.text;
    mail.email = email.text;
    mail.phone = phone.text;
    mail.comentarios = comentarios.text;
    mail.Submit = true;"
    -This is what you have provided for the form, which does not
    match the .php file provided.
    If the instance name of the email section is "email" the php
    file will read like this:
    email=$_POST['email'];
    The name inside the apostrophes is the instance name of that
    box.
    Looking at the scripts you have provided the instances and
    variables in the form do not match the ones in the .php file.
    If I am wrong, you can send me the original file if you wish
    and I can most likely find the problem for you and fix it.
    Or if you need help assessing this, I can do it for you! =P
    my email is [email protected]
    Hope I helped.
    Cheers!

  • Indie Musician Needs Help Integrating ASP Contact Page Into iWeb

    Hello Fellow Mac Users. (I just switched from PC to the iMac last month and I am SO happy with it!) The iWeb program is great! I had originally planned to hire someone to create my new music site, but I think what I've figured out how to do in iWeb will work for the time being.
    One problem... I want to use a legit contact page (my friend helped design this one for me) which is actually an ASP page. (www.aldenmusic.com/contact.asp) Does anyone know how I can replace my current contact page with the .asp one? I am hosting on another server (Crystaltech) rather than on .mac, if that matters.
    I was thinking maybe there is a way to go in and replace the HTML code manually on each page or maybe there is some way to trick iWeb into accepting the .ASP page? I have no idea how this stuff works.
    Here is my current site:
    www.aldenmusic.com
    Any help would be much appreciated!
    Thanks in advance for your help!
    Nichole ALDEN

    I don't think there is any way you can integrate an .asp page into an iWeb site other than by creating a hyperlink to it.

  • Help with Dreamweaver centering website

    Help please,
    I have created my first website with Dreamweaver 8.02 and now
    I need to center it into the center of the page. But I do not know
    how. The web is 700wide x 500 high and the address is:
    www.amandastraussdesigns.com Please help. I don’t know how to
    fix this.
    Thanks

    Of course !!
    "Sleep deprived" maybe :)
    Nadia
    Adobe® Community Expert : Dreamweaver
    Tutorials |SEO |Templates
    http://www.DreamweaverResources.com
    http://www.perrelink.com.au
    CSS Tutorials for Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/css.html
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    >> body {
    >> text-align: left; /* I added this */
    > -----------------^^^
    >
    > Should be text-align:center;
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > ": Nadia : **AdobeCommunityExpert**"
    > <[email protected]> wrote
    in message
    > news:[email protected]...
    >> You'll need to get into code view to fix this....
    >>
    >> Change the the body style you have now to:
    >>
    >> body {
    >> text-align: left; /* I added this */
    >> margin-left: 0px;
    >> margin-top: 0px;
    >> margin-right: 0px;
    >> margin-bottom: 0px;
    >> }
    >>
    >> Add a new div style just underneath the body styles:
    >>
    >> #outwrapper{
    >> position: relative;
    >> margin: auto auto;
    >> width: 700px;
    >> text-align:left;
    >> }
    >>
    >> Then, just under this line:
    >>
    >> <body tracingsrc="image/colors.jpg"
    tracingopacity="11">
    >>
    >> add
    >>
    >> <div id="outwrapper">
    >>
    >> just before this line (right at the bottom of the
    code)
    >>
    >> </body>
    >>
    >> add this:
    >>
    >> </div> <!-- /wrapper div -->
    >>
    >> so your last 3 lines look like this:
    >>
    >> </div>
    >> </body>
    >> </html>
    >>
    >>
    >> Your page should now be centered horizontally.
    >>
    >> --
    >> Nadia
    >> Adobe® Community Expert : Dreamweaver
    >> -------------------------------------------------
    >> Tutorials |SEO |Templates
    >>
    http://www.DreamweaverResources.com
    >> -------------------------------------------------
    >>
    http://www.perrelink.com.au
    >> -------------------------------------------------
    >> CSS Tutorials for Dreamweaver
    >>
    http://www.adobe.com/devnet/dreamweaver/css.html
    >> -------------------------------------------------
    >>
    >>
    >>
    >> "demhs" <[email protected]> wrote
    in message
    >> news:[email protected]...
    >>>
    >>> Help please,
    >>>
    >>> I have created my first website with Dreamweaver
    8.02 and now I need to
    >>> center
    >>> it into the center of the page. But I do not
    know how. The web is
    >>> 700wide x 500
    >>> high and the address is:
    www.amandastraussdesigns.com Please help. I
    >>> don?t know
    >>> how to fix this.
    >>>
    >>> Thanks
    >>>
    >>>
    >>
    >>
    >
    >

  • Help with Skillbuilders Modal Page plug-in

    Hi,
    I'm an APEX 4.1 user and a novice. I'm trying to use the Skillbuilders Modal Page plug-in. I have a report with an item (Order Number) that I use to drilldown. When the user clicks on the order number link to drilldown, it goes to another page/report that displays the detailed rows for that order (read only). That all works fine. What I'm attempting to do now is display the detail report in a modal page. Similar to the "Modal Page Demo 1" [url http://apex.oracle.com/pls/apex/f?p=46685:MODAL_PAGE:0]here. I watched the [url http://skillbuilders.com/webinars/webinar.cfm/53?title=Introducing%20SkillBuilders%20Modal%20Page%20Plug-in]Skillbuilders webinar twice. The webinar was showing how to display a form in the modal page, but I figured the steps were the same for displaying a report so I followed the steps Dan did for creating a modal page from a link.
    Here's what I did:
    I inserted: onclick="return false;" class="order-number" in the Link Attributes for the Column Link (drilldown) on my Order Number column.
    I then created a Dynamic Action:
    Event = Click
    Selection Type = jQuery Selector
    jQuery Selector = .order-number (I also tried 'a.order-number'. In the webinar it looked like there was an 'a' there.)
    no condition
    Action = Skillbuilders Modal….
    Fire When Event Result Is = True
    URL Location = Attribute of Triggering Element
    Attribute Name = href
    Event Scope = live
    The modal page displays when I click on the Order Number link, but only the bottom and right side (with scroll bars) and that's it. There is no detail displayed. Also, the background isn't darkened with the modal page prominent (as demonstrated in the webinar).
    Unfortunately my app is not on apex.oracle.com, so I have no link to share. Can anyone please help? I'm at a standstill. If this isn't enough information, I am more than happy to provide whatever else is needed. I can also provide links to screen shots if that will help.
    Thanks
    David

    Hi,
    Did you try to change the Theme in the PLUGIN Settings ?
    I had the same problem when the Theme of the Plugin was set to Custom. (it is initially set to CUSTOM)
    Try to change some to 1 - 5 of them.
    Regards
    J :D

  • I've just came on board from Andriod and need massive help with the Contacts application any one out there willing to help the 'noob'?

    I had the folks at the store port over all of my contacts from my old
    ratty Andriod phone to my new shiny iPhone.
    however all 200+ of my contacts sort of "shook" out,
    meaning say John Smith, on my old phone,
    had in my contacts the following:
    John Smith
    123 Main St. Anytown, Anystate USA
    555-826-4879 home
    555-799-4247 cell
    [email protected]
    johnsmith@facebook
    all nice and neat on my andriod but when it ported over
    all that information was just scattered all over my contacts sort of like:
    john smith, smith john
    john smith 123 main st. etc.
    johhn smith home 555 etc.
    john smith cell 555 etc.
    john smith johnsmith@ etc.
    etc.
    so for all those 200+ contacts in my phone, I've got a zillion of them now...
    so I'd like to get this all back in order before I and Siri explode.
    I know nothing, and I know even less about outlook and the sort.
    But I do know I am in Dire need of help with this... I figured that eveything else
    involving iphones and apple in general was supposed to be cake but it seems
    like this is the only thing that isn't cake at all... unless, I'm just a right idiot. (which is possible, hence spelling and grammatical issues).

    I believe I've tried to sync it with google, but it didn't seem to take
    muchless take my calender. it seems to favor my facebook calender
    more over my google calender, but Siri seems to be helping me re-write
    it...but that's not the game here, it's the contacts. I've tried to export
    the cvp (??) list and import it into my iTunes account. However, It only
    doubled my issue because it didn't over write my existing contacts.

  • Help with Dreamweaver MX

    I have a problem with Dreamweaver MX "unexpectedly quitting,"
    every time I try to open the program. I am running Mac OS 10.2.8. I
    have the console crash log for the program which I'll paste below.
    quote:
    Command: Dreamweaver MX
    PID: 1201
    Exception: EXC_BAD_ACCESS (0x0001)
    Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004
    Thread 0 Crashed:
    #0 0x00a15b8c in 0xa15b8c
    #1 0x006d6770 in 0x6d6770
    #2 0x006d4b60 in 0x6d4b60
    #3 0x00216894 in 0x216894
    #4 0x00215ab0 in 0x215ab0
    #5 0x00a25b94 in 0xa25b94
    #6 0x00a25cec in 0xa25cec
    #7 0x00a29924 in 0xa29924
    #8 0x00a29750 in 0xa29750
    Thread 1:
    #0 0x90073ba8 in mach_msg_trap
    #1 0x90005ed0 in mach_msg
    #2 0xc0009190 in __ape_internal
    #3 0xc0000efc in __ape_agent
    #4 0x90020c28 in _pthread_body
    Thread 2:
    #0 0x90073ba8 in mach_msg_trap
    #1 0x90005ed0 in mach_msg
    #2 0x9022a720 in SwitchContexts
    #3 0x90224fc8 in YieldToThread
    #4 0x90243128 in SetThreadState
    #5 0x9026d948 in SetThreadStateEndCritical
    #6 0x009e7c28 in 0x9e7c28
    #7 0x009e68e4 in 0x9e68e4
    #8 0x009e67e0 in 0x9e67e0
    #9 0x009e6bcc in 0x9e6bcc
    #10 0x009e7f64 in 0x9e7f64
    #11 0x9023bba8 in CooperativeThread
    #12 0x90020c28 in _pthread_body
    Thread 3:
    #0 0x9000508c in syscall
    #1 0x90515d0c in BSD_waitevent
    #2 0x905156dc in CarbonSelectThreadFunc
    #3 0x90020c28 in _pthread_body
    Thread 4:
    #0 0x9003e9a8 in semaphore_wait_signal_trap
    #1 0x9003e7c4 in _pthread_cond_wait
    #2 0x9051dbf0 in CarbonOperationThreadFunc
    #3 0x90020c28 in _pthread_body
    PPC Thread State:
    srr0: 0x00a15b8c srr1: 0x0200f030 vrsave: 0x00000000
    xer: 0x20000000 lr: 0x006d6770 ctr: 0x00defd50 mq:
    0x00000000
    r0: 0x006d6770 r1: 0xbffff460 r2: 0x0104c000 r3: 0x00000000
    r4: 0x00000000 r5: 0x0000004d r6: 0x011e420a r7: 0x000000b0
    r8: 0x02befe88 r9: 0xa0220a00 r10: 0x0250e760 r11:
    0xa0221738
    r12: 0x012e28b4 r13: 0x00000000 r14: 0x00000000 r15:
    0x00000000
    r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19:
    0x00000000
    r20: 0xbffffe18 r21: 0x00000001 r22: 0x012632a8 r23:
    0x011e34bc
    r24: 0x00000001 r25: 0x00000001 r26: 0x011e41c0 r27:
    0x02cf2d50
    r28: 0x02cf2d70 r29: 0x00000000 r30: 0x0286bdc0 r31:
    0x00000000
    I think I know the cause of the program though. I was trying
    to install some extensions using the extension manager. After I
    launched Dreamweaver after installing the extensions, the problem
    started.
    I have the extensions that I was trying to install if that
    would help.
    I would really like someone to help me with this problem.
    Please tell me if you don't think this is the correct forum to post
    it in.
    Maybe it is Apple's fault.
    Thanks in advance.
    Jylan

    Have you tried uninstalling that extension? Which one was it?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jyilan" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have a problem with Dreamweaver MX "unexpectedly
    quitting," every time I
    >try
    > to open the program. I am running Mac OS 10.2.8. I have
    the console crash
    > log
    > for the program which I'll paste below.
    >
    >
    quote:
    > Command: Dreamweaver MX
    > PID: 1201
    >
    > Exception: EXC_BAD_ACCESS (0x0001)
    > Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004
    >
    > Thread 0 Crashed:
    > #0 0x00a15b8c in 0xa15b8c
    > #1 0x006d6770 in 0x6d6770
    > #2 0x006d4b60 in 0x6d4b60
    > #3 0x00216894 in 0x216894
    > #4 0x00215ab0 in 0x215ab0
    > #5 0x00a25b94 in 0xa25b94
    > #6 0x00a25cec in 0xa25cec
    > #7 0x00a29924 in 0xa29924
    > #8 0x00a29750 in 0xa29750
    >
    > Thread 1:
    > #0 0x90073ba8 in mach_msg_trap
    > #1 0x90005ed0 in mach_msg
    > #2 0xc0009190 in __ape_internal
    > #3 0xc0000efc in __ape_agent
    > #4 0x90020c28 in _pthread_body
    >
    > Thread 2:
    > #0 0x90073ba8 in mach_msg_trap
    > #1 0x90005ed0 in mach_msg
    > #2 0x9022a720 in SwitchContexts
    > #3 0x90224fc8 in YieldToThread
    > #4 0x90243128 in SetThreadState
    > #5 0x9026d948 in SetThreadStateEndCritical
    > #6 0x009e7c28 in 0x9e7c28
    > #7 0x009e68e4 in 0x9e68e4
    > #8 0x009e67e0 in 0x9e67e0
    > #9 0x009e6bcc in 0x9e6bcc
    > #10 0x009e7f64 in 0x9e7f64
    > #11 0x9023bba8 in CooperativeThread
    > #12 0x90020c28 in _pthread_body
    >
    > Thread 3:
    > #0 0x9000508c in syscall
    > #1 0x90515d0c in BSD_waitevent
    > #2 0x905156dc in CarbonSelectThreadFunc
    > #3 0x90020c28 in _pthread_body
    >
    > Thread 4:
    > #0 0x9003e9a8 in semaphore_wait_signal_trap
    > #1 0x9003e7c4 in _pthread_cond_wait
    > #2 0x9051dbf0 in CarbonOperationThreadFunc
    > #3 0x90020c28 in _pthread_body
    >
    > PPC Thread State:
    > srr0: 0x00a15b8c srr1: 0x0200f030 vrsave: 0x00000000
    > xer: 0x20000000 lr: 0x006d6770 ctr: 0x00defd50 mq:
    0x00000000
    > r0: 0x006d6770 r1: 0xbffff460 r2: 0x0104c000 r3:
    0x00000000
    > r4: 0x00000000 r5: 0x0000004d r6: 0x011e420a r7:
    0x000000b0
    > r8: 0x02befe88 r9: 0xa0220a00 r10: 0x0250e760 r11:
    0xa0221738
    > r12: 0x012e28b4 r13: 0x00000000 r14: 0x00000000 r15:
    0x00000000
    > r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19:
    0x00000000
    > r20: 0xbffffe18 r21: 0x00000001 r22: 0x012632a8 r23:
    0x011e34bc
    > r24: 0x00000001 r25: 0x00000001 r26: 0x011e41c0 r27:
    0x02cf2d50
    > r28: 0x02cf2d70 r29: 0x00000000 r30: 0x0286bdc0 r31:
    0x00000000
    >
    >
    > I think I know the cause of the program though. I was
    trying to install
    > some
    > extensions using the extension manager. After I launched
    Dreamweaver after
    > installing the extensions, the problem started.
    > I have the extensions that I was trying to install if
    that would help.
    > I would really like someone to help me with this
    problem. Please tell me
    > if
    > you don't think this is the correct forum to post it in.
    > Maybe it is Apple's fault.
    > Thanks in advance.
    > Jylan
    >

  • Help with multiple contacts with multiple phone numbers

    I'm fairly new to the iPhone so thanks in advance for any help with this issue.
    I have contact list with records for a lot of people (300+), each with several phone numbers each, home, mobile & work, etc, .I can't seem to find a way to have the iPhone announce the name & number or name & type (home,mobile,work) of the caller from the contact list, my old cell phone could do that easily.
    At the moment what I've been doing as a work around for a few (important) people is to create a custom ringtone for that caller & that phone number.  Since it also seems there's no way to attach a different ringtones to each number in a single contact record I've had to create multiple contact records for each person, each with a different name/number combination such as "John Doe Work", "John Doe Home" or John Doe Mobile" then assign to it the custom ringtone I created for that name/number. 
    I need to this so that if I receive a call while I'm driving (or whatever) that I can't answer right then for some reason (often happens),  the ringtone I created for that name & number helpfully lets me know  who & where their calling from.  It's very important to know where someone is calling from, if someone's calling from home then I know I've got some time,  but if their calling from work then I need to get back to them quickly.
    This is a real pain!, having to make multiple contacts & ringtones for a every person with multiple numbers is a extraordinary waste of time.  My old cell phone could do this with no problem but there doesn't seem to be any way to do this with my new iphone.  Am I missing something here?  I am new to the iPhone so if there’s a solution to this that I’ve missed I'd very much appreciate the assistance.
    Thanks in advance.
    Al

    https://discussions.apple.com/message/18271382#18271382

  • Help with the Photos Page?

    I posted about this problem a little time ago, but now am not sure what to do.
    When I get a photo page up and place by web banner, it is out of sync with all my other pages - and it shows.
    I compared it with setting the page up with a blank page and I can see that the problem is that whilst the text box in the blank page will move up and down and adjust individually, the text box in the header on the photo page will not move individually. When I grab the bottom to move it, the whole box moves, instead of up and down.
    How can I solve this and what can I do? I would like to use the photo page to display some diagrams that I have and this would make a better job of it than a blank page.
    Any ideas anyone? I have come to the end of everything I have tried to do. I did try altering the size, but then I had problems with the navigation bar. The banner was in sync, but then the navigation bar was out with all the rest. I am getting fed up with this.
    Help?

    Well, I had already taken the navigation bar off display because it was in the wrong place for me, so I created my own instead. I have been back and unchecked the box to include in navigation menu on all the pages and tried the photo page again and it is still slightly out with all the other pages, but just not as much this time.
    With the blank pages, you seem to be able to drag the edges of the text box and they will move independently, however, when you try the same thing on the photos page it won't do the same thing. It moves as a whole rather than individually, so that means that the text moves too and once that has happened there is no way to alter that. You can't click the box and move the text up and down. The only way is to move the box.
    I like to keep my site looking tidy and with all the pages roughly the same, so this is annoying. I don't have photos, but diagrams and they do look better displayed on a photo page. They are spaced and sized accurately and more so than I can do them myself on a blank page.
    Is there any way that you can put the photo template onto a blank page?
    No everyone wants to put photos on a website or use photo page banners.

  • Need help with PHP contact form

    Hi guys,
    I've made a PHP contact form for my site and need help with a couple of things:
    The form action links an external PHP script (scripts/contact-form-script.php) but is there a way I can have it so the PHP script for the form is contained within the same PHP file as my contact form (contact.php)?
    I tried just putting the form code at the top of contact.php but the browser automatically reads the anti-spam re-direct, so maybe that needs revising too?
    The second thing is, how can I make the Name, Email and Message fields mandatory? So if a user tries to submit the form and hasn't filled in one of the required fields and clicks submit, contact.php reloads with a message at the top of the form saying something like 'Complete the required fields' and highlights the relevant field with a red border?
    Here's the code for contact.php:
    <form action="http://www.mydomain.com/scripts/contact-form-script.php" method="post" name="contact" id="contact">
    <p><strong>Name:*</strong><br />
    <input name="name" type="text" class="ctextField" /></p>
    <p><strong>E-mail:*</strong><br />
    <input name="email" type="text" class="ctextField" /></p>
    <p><strong>Telephone:</strong><br />
    <input name="telephone" type="text" class="ctextField" /></p>
    <p><strong>Company:</strong><br />
    <input name="company" type="text" class="ctextField" /></p>
    <p><strong>Address:</strong><br />
    <input name="address1" type="text" class="ctextField" /></p>
    <p><input name="address2" type="text" class="ctextField" /></p>
    <p><strong>Town:</strong><br />
    <input name="town" type="text" class="ctextField" /></p>
    <p><strong>County:</strong><br />
    <input name="county" type="text" class="ctextField" /></p>
    p><strong>Postcode:</strong><br />
    <input name="postcode" type="text" class="ctextField" /></p>
    <p><strong>Message:*</strong><br />
    <textarea name="message" cols="55" rows="8" class="ctextField"></textarea></p>
    <p><input name="submit" value="SEND MESSAGE" class="submitButton" type="submit" /><div style="visibility:hidden; width:1px; height:1px"><input name="url" type="text" size="45" id="url" /></div></p>
    </form>
    And this is the PHP I'm using to submit the form data for contact-form-script.php:
    <?php
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $to = "[email protected]";
    $subject = "Contact from website";
    $message = $headers;
    $message .= "Name: " . $_POST["name"] . "\r\n";
    $message .= "E-mail: " . $_POST["email"] . "\r\n";
            $message= '
                <table cellspacing="0" cellpadding="8" border="0" width="500">
                <tr>
                    <td colspan="2"></td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td width="154" style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Name</strong></td>
                  <td width="314" style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$name.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>E-mail address:</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$email.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Telephone number:</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$telephone.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Company:</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$company.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Address</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$address1.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$address2.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Town</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$town.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>County</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$county.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Postcode</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$postcode.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                    <td colspan="2" style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Message</strong></td>
                </tr>              
                <tr bgcolor="#eeeeee">
                    <td colspan="2" style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$message.'</td>
                </tr>              
                <tr><td colspan="2" style="padding:0px;"><img src="images/whitespace.gif" alt="" width="100%" height="1" /></td></tr>
             </table>
    $url = stripslashes($_POST["url"]);
    if (!empty($url)) {
    header( 'Location: http://www.go-away-spam-robots.com' );
    exit();
    mail($to, $subject, $message, $headers);
    header( 'Location: http://www.mydomain.com/sent.php' ) ;
    ?>
    Any help on this would be greatly appreciated.
    Thank you and I hope to hear from you!
    SM

    Revised code with form validation for Name Email and Message:
    <?php
    if (array_key_exists('submit', $_POST)) {
        $name = $_POST['name'];
        $email = $_POST['email'];
        $telephone = $_POST['telephone'];
        $company = $_POST['company'];
        $address1 = $_POST['address1'];
        $address2 = $_POST['address2'];
        $town = $_POST['town'];
        $county = $_POST['county'];
        $postcode = $_POST['postcode'];
        $formMessage = $_POST['message'];
    if (empty($name)) {
                                                $warning['name'] = "Please provide your name";
    if (empty($email)) {
                                                $warning['email'] = "Please provide your email";
    if (empty($formMessage)) {
                                                $warning['message'] = "Please provide your message";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $to = "[email protected]";
    $subject = "Contact from website";
    $message = $headers;
    $message .= "Name: " . $_POST["name"] . "\r\n";
    $message .= "E-mail: " . $_POST["email"] . "\r\n";
    $headers  = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
            $message= "
    <table cellspacing='0' cellpadding='8' border='0' width='500'>
                <tr>
                    <td colspan='2'></td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td width='154' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Name</strong></td>
                  <td width='314' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$name."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>E-mail address:</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$email."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Telephone number:</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$telephone."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Company:</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$company."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Address</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$address1."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$address2."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Town</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$town."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>County</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$county."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Postcode</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$postcode."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                    <td colspan='2' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Message</strong></td>
                </tr>              
                <tr bgcolor='#eeeeee'>
                    <td colspan='2' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$formMessage."</td>
                </tr>              
                <tr><td colspan='2' style='padding: 0px;'><img src='images/whitespace.gif' alt='' width='100%' height='1' /></td></tr>
             </table>
    $url = stripslashes($_POST["url"]);
    if (!empty($url)) {
    header( 'Location: http://www.go-away-spam-robots.com' );
    exit();
    if (!isset($warning)) {
    mail($to, $subject, $message, $headers);
    header( 'Location: http://www.mydomain.com/sent.php' ) ;
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    p {
        margin: 0;
        padding: 10px 0 0 0;
    .warning {
        color:#C00;
    </style>
    </head>
    <body>
    <form action="" method="post" name="contact" id="contact">
    <p><strong>Name:*</strong><br />
    <input name="name" <?php if (isset($warning['name'])) { echo "style='border: 1px solid #C00'"; } ?> type="text" class="ctextField" />
    <?php if (isset($warning['name'])) { echo "<p class='warning'>".$warning['name']."</p>"; }?>
    </p>
    <p><strong>E-mail:*</strong><br />
    <input name="email" <?php if (isset($warning['email'])) { echo "style='border: 1px solid #C00'"; } ?>type="text" class="ctextField" />
    <?php if (isset($warning['name'])) { echo "<p class='warning'>".$warning['email']."</p>"; }?>
    </p>
    <p><strong>Telephone:</strong><br />
    <input name="telephone" type="text" class="ctextField" /></p>
    <p><strong>Company:</strong><br />
    <input name="company" type="text" class="ctextField" /></p>
    <p><strong>Address:</strong><br />
    <input name="address1" type="text" class="ctextField" /></p>
    <p><input name="address2" type="text" class="ctextField" /></p>
    <p><strong>Town:</strong><br />
    <input name="town" type="text" class="ctextField" /></p>
    <p><strong>County:</strong><br />
    <input name="county" type="text" class="ctextField" /></p>
    <p><strong>Postcode:</strong><br />
    <input name="postcode" type="text" class="ctextField" /></p>
    <p><strong>Message:*</strong><br />
    <?php if (isset($warning['message'])) { echo "<p class='warning'>".$warning['message']."</p>"; }?>
    <textarea name="message" <?php if (isset($warning['message'])) { echo "style='border: 1px solid #C00'"; } ?> cols="55" rows="8" class="ctextField"></textarea></p>
    <p><input name="submit" value="SEND MESSAGE" class="submitButton" type="submit" /><div style="visibility:hidden; width:1px; height:1px"><input name="url" type="text" size="45" id="url" /></div></p>
    </form>
    </body>
    </html>

  • Need Help with Dreamweave MX!

    Hello all!
    I'm an artist and I'm putting my new website together but I'm
    stuck on something. I have 3 order forms that are all .doc files.
    How do I make a link in Dreamweaver so when the person clicks on
    the link... they download those forms? I did it once but it was a
    long time ago and I forgot how. Don't talk to me like I'm some kind
    of HTML expert. ;) I suck with HTML. If you can use simple easy
    instructions I'd appreciate it. :) I'm not very experienced with
    Dreamweaver.
    Thanks! :)

    Mahalo, Inali.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Inali Kealoha" <[email protected]> wrote in
    message
    news:ej5e0k$255$[email protected]..
    > lol Teasing is fine. :) Sometimes it's *REALLY* hard to
    tell online the
    > person's meaning without the use of emoticons. Either
    way, what Murray
    > said
    > worked great. It was so simple too and now I know how to
    do it from now
    > on.
    > I've only used Dreamweaver once before and only because
    the person who was
    > to
    > build my site was taking too long. I just decided I'd do
    it myself. :)
    >
    > Now it is completed! Well, except for the fact that
    while deleting my old
    > version of the site I think I accidentally deleted my
    entire coppermine
    > gallery
    > in the process. Oops. :( Oh well. Hopefully that can be
    fixed without too
    > much
    > work. Thanks for the help! :)
    >
    > Inali
    >
    http://www.spiritcreations.wulfpawz.net/
    >

  • Help with Dreamweaver flash image viewer

    Hi all
    Would like some help with Dreamweavers Flash image viewer.
    Everything is working properly except when i try to link a picture, and have set the imagelinkTarget value to _blank the link always navigates away from my site and does not open in a new window.
    I have tried all the values for the imageLinkTarget and nothing works..
    Here is my code
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0, 28,0','width','190','height','190','src','images/ad1','quality','high','flashvar s','flashlet={imageLinkTarget:\'_blank\',captionFont:\'Verdana\',titleFont:\'Verdana\',sh owCo ntrols:false,frameShow:false,slideDelay:5,captionSize:14,captionColor:#000000,ti tleSize:10,transitionsType:\'Fade\',titleColor:#333333,slideAutoPlay:true,imageU RLs:[\'images/image1.jpg\',\'images/image2.jpg\',\'images/image3.jpg\',\'images/ image4.jpg\'],slideLoop:true,frameThickness:2,imageLinks:[\'http://www.bowlsaustralia.com.au\',\'http://www.smh.com.au\'],frameColor:#333333,bgColor:# FF9966,imageCaptions:[\'Bowls Australia\',\'Sydney Morning Herald\']}','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFl ash','flash_component','ImageViewer.swc','movie','images/ad1' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0, 28,0" width="190" height="190">
              <param name="flash_component" value="ImageViewer.swc" />
              <param name="movie" value="images/ad1.swf" />
              <param name="quality" value="high" />
              <param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verd ana',showControls:false,frameShow:false,slideDelay:5,captionSize:14,captionColor :#000000,titleSize:10,transitionsType:'Fade',titleColor:#333333,slideAutoPlay:tr ue,imageURLs:['images/image1.jpg','images/image2.jpg','images/image3.jpg','image s/image4.jpg'],slideLoop:true,frameThickness:2,imageLinks:['http://www.bowlsaustralia.com.au','http://www.smh.com.au'],frameColor:#333333,bgColor:#FF9 966,imageCaptions:['Bowls Australia','Sydney Morning Herald']}" />
              <embed src="images/ad1.swf" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:' Verdana',showControls:false,frameShow:false,slideDelay:5,captionSize:14,captionC olor:#000000,titleSize:10,transitionsType:'Fade',titleColor:#333333,slideAutoPla y:true,imageURLs:['images/image1.jpg','images/image2.jpg','images/image3.jpg','i mages/image4.jpg'],slideLoop:true,frameThickness:2,imageLinks:['http://www.bowlsaustralia.com.au','http://www.smh.com.au'],frameColor:#333333,bgColor:#FF9 966,imageCaptions:['Bowls Australia','Sydney Morning Herald']}" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFl ash" type="application/x-shockwave-flash" width="190" height="190"> </embed>
            </object>
    </noscript>
    any help would be greatly appericated
    Ken

    I just googled and found lots of folks with the same problem.  One fellow wrote this as a soluton:
    "All you have to do is
    remove the values from the imageLinks in the flash element. That
    should fix it."
    Does it?
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Help With Printing Multiple Pages on Single Page

    I am trying to print a calendar on a single 11x17 sheet of paper. Currently the size of the calendar is forcing the application to want to print 3 pages. I have a ministry requirement that requires the calendar to be printed in Arial size 16 font and print
    on a single page. Is there any way to fit this document on to one page?
    Thank you

    I would set it up with a landscape page size of 11x17. Insert tables for the calendar, floating if necessary. Insert the text. This is not using a calendar wizard or anything of the sort.
    Tables
    Are we talking a week, a single month, two months, a quarter, four months, six months, or a year? Very much is going to be very crowded!
    As an alternative, you could try setting it up for two portrait pages and then tell word to print two pages per sheet. You would lose some paper to wider margins this way. (I have only done this with 8-1/2 x 11 pages but the principle should be the same.)
    This would require starting with an even larger font because Word would scale it. If you need exactly Arial 16 it may be tough to get.
    p.s. I envy your ability to print on 11x17.
    Charles Kenyon Madison, WI

  • Help with php contact form

    I built a form in Dreamweaver CS4 which looks and seems to work fine both in IE and FF. I then wrote the PHP script and uploaded it to my hosting site. When I fill in the form on the web, I get my "thank you" email stating I will contact them in 24 - 48 hours. I also get this from the hosting site - This email was sent using the PHP mail() function. If you received this email than the PHP mailer is working fine. With all that said my problem is that I do not get a copy of the form details. On the properties section in Dreamweaver, I have the Form ID as contactus and Action connecting to my folder - ../Contactform.php, but I have the target blank. What would it be - blank, parent or self or should it just be black?
    Thanks in advance for any help. 

    target="_blank" opens a page in a new window. It is not used for forms processing.
    For a form, when you begin it, you need to tell it what's going to happen:
    <form method="post" action="Contactform.php">
    (And, actually, I don't recommend the use of upper and lower-case characters in any file that is to be called by a web server, bu that is not related to your issue.)
    Then, you will have an action button at the bottom of your form:
    <input type="submit" value=" Contact Me" />
    When that action button (or submit button) is activated on your web page, it should query the form for what to do. In the case that I'm outlining here, the action is to run the php file you have called Contactform.php.
    At that point, your php code takes over and will do something.
    In your php, do you have something like this?
    $subject = Contact_from_your_webpage;
    $notes = stripcslashes($notes);
    $message = " $todayis [EST] \n
    Message: $notes \n
    From: $visitor ($visitormail)\n
    Telephone: $visitorphone ($visitorphone)\n
    From: $visitor ($visitormail)\n
    Address: $address1 ($address1)\n
    Address: $address2 ($address2)\n
    From: $city $state  $zip\n
    $from = "From: $visitormail\r\n";
    mail("[email protected]", $subject, $message, $from);
    This should send you an email with all of the stuff you put in your form to send
    Please understand that, in this case, I am using form fields that may be different from yours (you didn't provide us with a link, so I don't know what your form fields are). My fields are as follows:
    visitor
    visitormail
    visitorphone
    address1
    address2
    city
    state
    zip
    notes
    I am going to hazard a guess that, either you didn't tell your form to do the right thing or your php is wrong.
    -Mark

Maybe you are looking for