Announcement

Collapse
No announcement yet.

got complex html email forms?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    tie it to an order
    You could use javascript to push the product number into one of the fields, and then hide the field. There would be no way to tie it to any order.

    This would require extra programming, obviously, and isnt part of the package.

    Comment


      #17
      norm has a plugin which would work better if you need the image tied to the order.

      Comment


        #18
        Just a quick note to say thanks to Gabe for the link to MachForm, even I managed to integrate the form into my site and that's saying something - http://technobots.co.uk/acatalog/Application_Form.html

        Comment


          #19
          Absolutely - thanks, Gabriel, for the link.

          Appnitro have a special offer on 'till the end of the month. Unlimited site licenses for £109. Might be a bargain for developers.
          Elysium:Online - Official Accredited SellerDeck Partner
          SellerDeck Design, Build, Hosting & Promotion
          Based in rural Northants

          Comment


            #20
            I am trying unsuccesfully to embed the form code into an Actinic page, any ideas where I am going wrong.

            I have renamed the page from pricematch.html to pricematch.php and inserted the following code as given by appnitro (Machform) into a fragment:

            Code:
            !!<
            <actinic:block php="true">
            <?php
            	require("/home/dguppy/public_html/machform/machform.php");
            	$mf_param['form_id'] = 1;
            	$mf_param['base_path'] = 'http://www.golfteewarehouse.co.uk/machform/';
            	display_machform($mf_param);
            ?>
            </actinic:block>
            >!!
            but it gives the following error
            Parse error: parse error in main on line 2
            It works OK on a non-actinic page uploaded using separately, here: http://www.golfteewarehouse.co.uk/formtest.php
            Darren Guppy
            Golf Tee Warehouse
            Golf Tees and Golf Accessories.

            Comment


              #21
              I have now managed to get it onto the page by putting the following code into a fragment:
              Code:
              !!<
              <actinic:block php="true" >
              echo file_get_contents('http://www.golfteewarehouse.co.uk/pricematchform.php');
              </actinic:block>
              >!!
              It seems to work (although not fully tested), is there any reason why I shouldn't use this?
              Are there any better ways?
              Darren Guppy
              Golf Tee Warehouse
              Golf Tees and Golf Accessories.

              Comment


                #22
                On testing the above I have discovered that although the form displays OK, nothing happens when you click on Submit.

                Can anybody who has implemented this form successfully briefly explain the code they used.

                It works here: http://www.golfteewarehouse.co.uk/pricematchform.php

                but not here: http://www.golfteewarehouse.co.uk/ac...PriceMatch.php
                Darren Guppy
                Golf Tee Warehouse
                Golf Tees and Golf Accessories.

                Comment


                  #23
                  I've implemented it on a couple of sites now without problem but I did it using the iframe code they supply.


                  I'm off out now - I'll take a look at your forms later this afternoon (assuming I've not been beaten to it).
                  Elysium:Online - Official Accredited SellerDeck Partner
                  SellerDeck Design, Build, Hosting & Promotion
                  Based in rural Northants

                  Comment


                    #24
                    Thanks,

                    I have just tried the iframes method which worked first time, see here: http://www.golfteewarehouse.co.uk/ac.../formtest.html

                    Is there anyt reason why I shouldn't use the iframe method? I am not worried about google indexing that particular page, but would like to ensure that the form is compatible with atleast 99% of customers.
                    Darren Guppy
                    Golf Tee Warehouse
                    Golf Tees and Golf Accessories.

                    Comment


                      #25
                      Just wondering if anyone got this working with the php code provided by machform.

                      I'd prefer to use the php rather than the iframe.

                      Comment


                        #26
                        Jo,

                        Yeah no problem at all. Is it not working?
                        Cheers

                        David
                        Located in Edinburgh UK

                        http://twitter.com/mcfinster

                        Comment


                          #27
                          I'm putting the code in a brochure fragment - what code do i wrap around the php provided by mach?

                          mach provide
                          PHP Code:
                          <?php
                              
                          require("/xxx/local/home/xxx/xxx.co.uk/machform/machform.php");
                              
                          $mf_param['form_id'] = 2;
                              
                          $mf_param['base_path'] = 'http://xxx.co.uk/machform/';
                              
                          display_machform($mf_param);
                          ?>
                          i'm not sure where to put it!

                          Comment


                            #28
                            This works for me

                            PHP Code:
                            !<<?php
                                
                            require("");
                                
                            $mf_param['form_id'] = 1;
                                
                            $mf_param['base_path'] = '';
                                
                            display_machform($mf_param);
                            ?>>!!
                            I've removed the require and base_path as they'll be specific to you. Also, the page needs to have a .php extension, obviously.
                            Cheers

                            David
                            Located in Edinburgh UK

                            http://twitter.com/mcfinster

                            Comment


                              #29
                              also, the page needs to have a .php extension, obviously.
                              doh ............

                              So to clarify - yes you can use the php provided by Mach, just stick the code in a fragment, wrap it in !!< put code here >!! and change page name to .php

                              Simples!

                              Comment


                                #30
                                Originally posted by pinbrook View Post
                                doh ............
                                Been there, done that!
                                Cheers

                                David
                                Located in Edinburgh UK

                                http://twitter.com/mcfinster

                                Comment

                                Working...
                                X