Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ImForms
#26
By clicking on the button the form will be sent - As I have already written an 'action' attribute is set to the form and not the button, button is just the trigger.
BTW. You can remove ReCaptcha block from your form to test it.
Reply
#27
I'm so glad there is a new form extension for GetSimple, thank you!

It is missing translations. Here are my translations for German and French, only for the frontend. And a few corrections in the English file.


Attached Files
.php   de_DE.php (Size: 4.32 KB / Downloads: 1)
.php   fr_FR.php (Size: 4.36 KB / Downloads: 1)
.php   en_US.php (Size: 4.24 KB / Downloads: 1)
Reply
#28
And a small bug: When not checking the reCaptcha, the message "Please complete the reCAPTCHA below!" appears twice
Reply
#29
And a request: I need the same form in two languages. And if I needed a completely new form, I'd like to start with an existing form. It would therefore be nice if I could duplicate a form easily.
So far I have not been able to duplicate a form at all. The data for it should be in the files, but I could not find out which file, yet.

EDIT: seems to be in here: /data/imanager/items/1.1.im.item.xml - not in an copy-/editable format
Reply
#30
Ok, so I went through the somewhat frustrating process of recreating the same form field by field, only to find that the shortcode is not replaced in any language but the main ... Is ImForms not yet compatible with I18N?
Reply
#31
It's probably a bug, when I get time, I'll look into it - thank you!
Reply
#32
v.0.3 is available for download now.
There is an issue with i18n plugin, since i18n only supports two-letter language packs, but ImForms supports language pack approach of GS, with identifiers like en_US, de_DE, etc. Now, I have added an extra variable to the config, its used for the conversion of the language pack names and can be extended in the custom.config.php file as you need.

Also note that, the texts contained in the forms (such as the labels, etc), are excluded from translation and can only be changed by copying or cloning the form into the desired language.

By the way, cloning of the forms is very easy, you don't have to rebuild everything manually:
  1. First, go to the ImForms menu and create a new form called contact_de or contact_fr, for example.
  2. Then you can open/edit your 'contact' item in the ItemManager menu and copy the entire content of the 'Form Data' field, paste it into the new item(s). But you have to be careful that you copy and paste everything exactly, sometimes the browser doesn't delete the whole field content.
  3. After that you have to rename the forms so that they can be accessed in the frontend.
Reply




Users browsing this thread: 2 Guest(s)