Tool [B4X] Forms Builder - Designer for B4XPreferencesDialog

SS-2019-04-09_12.32.08.png


FormsBuilder is a desktop tool that helps with building templates for B4XPreferencesDialog: https://www.b4x.com/android/forum/t...alog-cross-platform-forms.103842/#post-651047

The output of FormsBuilder is a json file that is loaded with:
B4X:
prefdialog.LoadFromJson(File.ReadString(File.DirAssets, "Example.json"))

Click on the monitor icon to see the preferences dialog.


Updates

V1.66 - Support for 24 hours mode in time items.
V1.65 - Support for the new Explanation item added to B4XPreferencesDialog v1.65.
V1.50 - Support for two new field types added to B4XPreferencesDialog v1.50: Multiline Text and Decimal Number.
Note that you can set the height of multiline text fields.
V1.10 - Support for light themes. Make sure to also update B4XPreferencesDialog to v1.30.

Make sure to download the latest version of B4XPreferencesDialog: https://www.b4x.com/android/forum/threads/b4x-b4xpreferencesdialog-cross-platform-forms.103842
 

Attachments

  • FormsBuilder-Source.zip
    22.8 KB · Views: 2,605
Last edited:

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Great tool, it is SUPER fast UI designing.
Can this tool generate form for another purpose? as any form on activity?
Also
Why RTL still not supported!
 

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
It is currently not possible. Might be added in the future.
If this feature introduced to B4X, It'll make it the time fastest between competitors for developing B4X forms in activity.
Currently; In large b4x apps that require a lot of forms (a lot of time), I am using my non b4x approach to accelerate the process, then merge the results inside b4x wrapper.

I hope Mr. @Erel to introduce this feature in nearest future (Yes you can :) )
 

tuhatinhvn

Active Member
Licensed User
Longtime User
Yes. The default values are not part of the template. You need to set them in the "data" map.
so i will this form-builder to make a "default"-"data"-map( Store it : xui.DefaultFolder & "options.map" -as example) and copy this file to my app and use it for first-time ?
 

Gabino A. de la Gala

Active Member
Licensed User
Longtime User
Would it be possible for events to be triggered each time the value of one of the fields was changed so that we could make verifications or even vary the value of other fields in the form at run time?
 

jimmyF

Active Member
Licensed User
Longtime User
B4XTable1.COLUMN_TYPE_NUMBERS does not accept decimals, only integers.
 

jimmyF

Active Member
Licensed User
Longtime User
I guess that you are asking for a new item type that will accept decimal numbers, right

Yes, sorry, of course, :confused: I was working with the TableAndForms sample.

A new item type that will accept decimal numbers would be greatly appreciated.

If you could do it last week it would be even better :D
 

jimmyF

Active Member
Licensed User
Longtime User
Top