Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
step by step form tutorial
#3
(2016-02-11, 23:56:07)datiswous Wrote: You can add php via a component to your theme, or by using the Dynpages plugin, to a page.

As far as I know there isn't a form-plugin for Get-Simple at the moment appart from the many contact-form plugins. Documentation for p01-contact is here: https://github.com/nliautaud/p01contact/wiki

Thank you

I tried adding my php to a component, and then adding component to template file, and when assigning a page to that template I get blank page; obviously I am doing something wrong, but don't know what.

I tried p01, and while I was able to style the fields in a more decent way, the big issue is I can't seem to be able to add more than the default fields, in the link you sent there are these examples:


Code:
(% contact %)
and

Code:
(% contact : address@domain.ext, another@domain.ext,
        subject => "About this script",
        email!,
        textarea "How old is born Napoléon?",
        phone,
        radio "Do you like this script?" = "Yes" selected | "No",
        website,
        select = "One" selected | "Two" | "Three" | "Four" | "Five" ,
        message! = "Say something",
        password = tomato,  
        captcha,
        askcopy %)

When I put the former on the page (using editor) the form is displayed, but when I put the latter the code is displayed!
Reply


Messages In This Thread
step by step form tutorial - by keneso - 2016-02-11, 23:25:17
RE: step by step form tutorial - by datiswous - 2016-02-11, 23:56:07
RE: step by step form tutorial - by keneso - 2016-02-12, 03:42:29
RE: step by step form tutorial - by datiswous - 2016-02-12, 06:33:14
RE: step by step form tutorial - by keneso - 2016-02-12, 22:57:29



Users browsing this thread: 1 Guest(s)