totoff Posted September 9, 2014 Posted September 9, 2014 Hi Ryan, great to hear, many thanks. Is there a new version (mine is 0.2.2)?
ryan Posted September 9, 2014 Author Posted September 9, 2014 Totoff there is version 0.2.3b, see the FormBuilder board (let me know if you don't see it). I'm planning to release 0.2.5, which is based on 0.2.3b, once PW 2.5 is out.
totoff Posted September 9, 2014 Posted September 9, 2014 Hi Ryan, I found this post pointing to 0.2.3b. Is it that what you mean? However, I did install in 2.5 in the meantime and it works fine. As ever, many thanks for your constant and kind support!
sambadave Posted September 11, 2014 Posted September 11, 2014 Hi Ryan I downloaded the FormBuilder module yesterday and it is brilliant. Thanks for making this. I'm having a little problem though. When I tick the "Send an email to administrator(s)" checkbox and drop in an email address, that email address doesn't receive a copy of emails submitted through the form. I've tried a few different emails with no luck. Any ideas on how I might fix this? Ideally, I'd like my client to receive an email when someone tries to contact them using the contact form I've created. Thanks
rooofl Posted February 24, 2020 Posted February 24, 2020 Hello, I need users to add new entries to a page reference field, just like a “Create New” action. Is that possible in a form?
rooofl Posted February 25, 2020 Posted February 25, 2020 On 2/24/2020 at 11:28 AM, rooofl said: Hello, I need users to add new entries to a page reference field, just like a “Create New” action. Is that possible in a form? I solved that with a hook in `site/ready.php` <?php $forms->addHookBefore('FormBuilderProcessor::processInputDone', function($e) { $form = $e->arguments(0); if($form->name == 'new_submission') { $pageTitle = "test"; $toFind = wire(pages)->find("title=$pageTitle"); if (count($toFind) == 0) { $page = new Page(); $page->parent = "/config/designer/"; $page->template = "designer"; $page->title = wire(sanitizer)->text($pageTitle); $page->save(); } } }); ?>
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now