Version 1.5.0 - June 9, 2021

  • Changed: Compatible with Flarum 1.0+.

This version can be installed on Flarum 1.0.0 and all future 1.x versions.
It will be automatically installed when you upgrade to Flarum 1.0 by following the official release guide.

2 months later

GVG a) you can continue to use the extension on the flarum installations that had it installed during your active subscription. You cannot update that extension or install the extension on other Flarum forums thereafter unless you continue your subscription.

Gorgeous! I premium subbed! ❤️

However ... 😊 I can't figure out how to install it...

Followed instructions but no message whatsoever from composer, please assist? 🙂

@clarkwinkelmann

I got it installed 🙂

Next Question: My regex won't validate, PHP uses PCRE right? Inline modifiers should work?

Example: (?i)YES

Hmmm.. It seems to reject even literal matches 🤔

@clarkwinkelmann

After setting up my first form I have some feature requests 🙂 (Sorry for all the consecutive posts).

REQUESTS

  • Is there a way to change the text 'Form is closed' when an unauthorized user sees the form? I have a feeling this will deter users signing up to my form. Call to action --> leads to --> Closed form message 🙁 I would like to be able to customize the test and say please register to this website to fill out the form message instead.
  • Placement --> Special Form Types --> Discussion fields: I would like the ability for this to appear inline at the bottom of the normal discussion vs that button leading to a lightbox. (It's confusing visually).
  • Placement --> Special Form Types --> Discussion fields: It would be better if this can exist for just one discussion. My use case is I created a Tag for me to advertise events and I want to a form to collect names of interested people.
  • The ability to limit how many times someone can post to a form.
  • Can we add additional field types? Similar to this.
  • Fix the regex so it works. Or maybe I am doing it wrong?

Thanks! This extension is amazing, the e-mail feature works perfectly. Let me know if you have any questions and if it's possible to get these included in an update 🙂

    16BitMiker thanks for purchasing! Glad you managed to get it installed.

    The regular expression is fed to the Laravel regex: validation rule. It requires delimiters (I'm going to add this to the documentation, I see it wasn't mentioned). I've never used inline modifiers myself yet so I'm not sure about those, but if you wanted to apply the i modifier on the full regex you should be able to enter /yes/i

    You can translate the form closed message using the Linguist extension. The key is kilowhat-formulaire.forum.submission.form-closed. I'll see whether I can introduce a different translation for unauthorized. Right now the way it's implemented, it's made so there's no difference on purpose as to not leak the open status of a form you can't see.

    For the placement of discussion fields, I will try to add more options in the future. I still need to implement the fields into the discussion composer. The use of a modal to edit the fields is because it's a lot easier to reuse between the various form types and there's less chance of it colliding with other extensions.

    It would be better if this can exist for just one discussion

    I'm not sure if I understand what you're suggesting. The discussion forms are only designed for discussion fields, so there's always one per discussion. They can be tag scoped.

    I am planning to add a way to embed a standalone form into a discussion so that the standalone form can be filled without navigating to a new page. This might solve what you're trying to accomplish.

    I will be adding new field types very soon.

    Thanks for the feedback!

      clarkwinkelmann Thank you for making this form product! It is incredible!

      the regular expression is fed to the Laravel regex: validation rule. It requires delimiters

      Okay cool I will give it a try. p.s Can I choose my delimiter? or do I need to use forward slashes?

      You can translate the form closed message using the Linguist extension. The key is kilowhat-formulaire.forum.submission.form-closed. I'll see whether I can introduce a different translation for unauthorized.

      I want to use it primarily for doing events and the way it's worded for guest users makes it sound like the form is closed. I want them to know they need to sign up to fill it in. I am unfamiliar with the inner workings of flarum and I am a little lost with what kilowhat-formulaire.forum.submission.form-closed means 🙁 Can you provide further direction?

      I'm not sure if I understand what you're suggesting. The discussion forms are only designed for discussion fields, so there's always one per discussion. They can be tag scoped.

      I'll try to clarify. I created two forms and tagged it as announcements. Both forms are appearing in every announcement. I would like one form to appear on a particular discussion topic not globally popping up on all announcements.

      I am planning to add a way to embed a standalone form into a discussion so that the standalone form can be filled without navigating to a new page. This might solve what you're trying to accomplish.

      I think you are saying what I am talking about above 🙂 Basically I am just looking to put the forms inline. My contact form here is just inline into this html from the product JotForm.

      Thank you again! This will really help me achieve what I want to do 🙂 I want to figure out how to modify that closed message before I start advertising but things are looking great so far!

        16BitMiker Can I choose my delimiter?

        Yes, I think you can use any delimiter. Maybe : won't work because it's used internally in front of the regex, but all other valid delimiters accepted by PHP should work.

        16BitMiker what kilowhat-formulaire.forum.submission.form-closed means 🙁 Can you provide further direction?

        You can install this extension https://discuss.flarum.org/d/7026-linguist-customize-translations-with-ease then in the extension you can search for the text to modify. You can search for the text itself, or you can type the key I shared and you'll find it.

        Another solution to customize translations is to use a local translation file and a bit of PHP code, and the key would be useful there. But if you're unfamiliar with this, the Linguist extension mentioned above is the easiest solution with no PHP knowledge necessary.

          clarkwinkelmann Another solution to customize translations is to use a local translation file and a bit of PHP code, and the key would be useful there. But if you're unfamiliar with this, the Linguist extension mentioned above is the easiest solution with no PHP knowledge necessary.

          Last time I programmed in php was 9 years ago >__< I used to know what I was doing 😛

          I'll check out the extension, thank you again !

            luceos hehe I understand what you mean 🙂

            For me, it always feels like there is so much more to learn.

            @clarkwinkelmann

            I was wondering, for the submissions area of the form, would there be a way to access the e-mails of everyone who submitted in a more automated way?

            At some point I figure I will have to learn how to extend things myself 🤔 but for now I need a way to access all the e-mails and them import into MailChimp. Even getting a CSV output would be useful. Any ideas?

            Also...

            I have a great use cased for your Discussion Field Placements! I'll share more when I have it all setup 🙂 Very excited!

              16BitMiker would there be a way to access the e-mails of everyone who submitted in a more automated way?

              You mean the email address associated with the accounts that submitted the form, not an email value inside of the form itself? I could add this as an available meta value in the export tool. I already have username and display name, I can relatively easily add email there.

              I might need to add a bit more access control on that because otherwise moderators who cannot see user email would be able to extract it from there, which might not be desirable for some forums.

              16BitMiker I need a way to access all the e-mails and them import into MailChimp

              If what you need is indeed what's described above, there's no solution from the web UI in the current version. You could export the data from the database with a tool like phpMyAdmin. Join the users table on formulaire_submissions.user_id, and limit the results to the form_id of your form (the internal incremental ID, not the UUID. Can be found in the formulaire_forms table).

              4 days later

              Version 1.6.0 - August 5, 2021

              • Added: Checkboxes, Radio and Dropdown field types.
              • Added: Ability to include user email and activation status in exports. Protected by a new permission.
              • Added: data- attributes to the body element with Form and Submission IDs that can be used in custom CSS.
              • Changed: Use private title instead of public title as the default export filename.
              • Changed: On mobile the form title has been moved to the app header which was previously blank.
              • Changed: Short field type now has a maximum length of 255 (previously unrestricted) and Long now has a default maximum length of 25000 which can be customized to be longer.
              • Fixed: Inability to re-order multi-entries in form editor.
              • Fixed: Possible data loss if a form was edited and submitted multiple times without closing the editor. Newly added fields were having their unique keys re-generated on each new save which would break submissions made in the meantime.

              I will update the demo website soon so you can see what the new fields look like. But my server needs some upgrades before I can do it 😇

              2 months later

              @clarkwinkelmann Installing the latest version (upgrading from v1.1.0), I realized that it's not possible to set fill permissions for standalone forms. Has that feature been deleted?

                iPurpl3x on standalone forms the fill permission is global. It can be set via the admin panel, or above the list of standalone forms. The permission is only visible/editable if the current user is admin.

                Only discussion/user forms have per-form permissions. Standalone forms have never had per-form permission in the past, but I'm planning to add that in a future update.

                There's also the fill permission at the field level. This permission is visible when enabling expert mode via the 3-dot menu in the form editor.

                  clarkwinkelmann Ok, thanks for clarifying.

                  There's also the fill permission at the field level. This permission is visible when enabling expert mode via the 3-dot menu in the form editor.

                  That was what I was missing. I found it now, so all good!

                  2 months later

                  For forms for the user profile, can of users who have access to reading the forms search based on the answers given. For example, if one of the fields is "city," can some search to see who lives in say Seattle?