Jump to content

Search the Community

Showing results for tags 'FormTemplateProcessor'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 5 results

  1. I'm trying to use this code: $this->set('successMessage', '<h2 class="enviado-ok">' . wire('pages')->get("/$page->name/")->mensaje_form_enviado .'</h2>'); inside the init function of FormTemplateProcessor.module and is giving me this error: Notice: Undefined variable: page in /home/pruebase/public_html/site/modules/FormTemplateProcessor/FormTemplateProcessor.module on line 92 Notice: Trying to get property of non-object in /home/pruebase/public_html/site/modules/FormTemplateProcessor/FormTemplateProcessor.module on line 92 This is probably because I'm not really good at php and I guess I can't use the $page variable inside the function right? Does anyone know how could I make this work? Thanks very much.
  2. Hi! I´m working on callback solution for my client using the FormTemplateProcessor module. It works fine but i want to get the numbers only once. The template have only one field "title" formated as phone number. Any ideas? Frontend: Backend: --------------------- I had a bad approach, trying to find a field and compare it with the input field. I have just done it with a temporary cookie. It´s not perfect but it works.
  3. Hello, I'm using FormTemplateProcessor module to dynamically create pages and save data. But for some reason, it's not showing title field in the form that's being rendered on the front-end. Also when the page is being created, right now, it's auto-generating some name, I'd like it to have title. I want to know how to Get title in the front-end form & save it along with the rest of the data. Save page with its name rather than auto-generated name. Thanks in advance.
  4. Using the FormTemplateProcessor module, is it possible to have the user redirected to a different thank-you page after having successfully submitted the form?
  5. Hey, I've a problem,witch i cant solve by myself so I hope you have any ideas what to do: I want to use FormTemplateProcessor here are my settings: A template called contact_form with two fields - contact_mail and contact_text - no template file associated. A template called contact with standard fields - title + body + images and so on - associated to contact.php <?php /** * Kontakt Seite * */ include("./head.inc"); ?> <div class="main wrapper clearfix"> <article class="clearfix"> <h2><?php echo $page->get("headline|title");?></h2> <?php echo $page->body; ?> </article> <?php $form = $modules->get('FormTemplateProcessor'); $form->template = $templates->get('contact_form'); $form->requiredFields = array('contact_email'); $form->email = 'mail@mail.com'; echo $form->render(); ?> </div> <!-- #main --> <?include("./foot.inc"); ?> This looks fine to me and if i try if it works on frontpage, everything seems to work. I got the message, that my submission has been sent. BUT I got no Mail. I've tested it with various e-mail addresses, checked my spambox, but I cant find a mail from my form. I've thought, that maybe there might be something wrong with my Server, but the log-file seems fine to me: 188.111.105.10 - - [21/Jan/2013:10:07:48 +0100] "POST /kontakt-email/ HTTP/1.1" 200 4643 "http://www.mydomain.de/kontakt-email/" "Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0" "www.mydomain.de" I don't know where to search for errors. Perhaps I have to mention that I'm using a various admin path... Would like to hear your advices. Many greets, Jens alias DV-JF
×
×
  • Create New...