Apr 9, 2019 Replies: 52 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: Code: Copy 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 FormsBuilder-Source.zip 22.8 KB · Views: 3,630 Last edited: Sep 22, 2019 Click to expand...
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: Code: Copy 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
Erel B4X founder Staff member Licensed User Longtime User Apr 10, 2019 #2 V1.10 released with support for forms with light themes.
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Apr 12, 2019 #3 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!
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!
Erel B4X founder Staff member Licensed User Longtime User Apr 14, 2019 #4 Interesting question. You are asking whether you can show the form without a dialog, right? HAH said: Why RTL still not supported! Click to expand... This is quite complicated as different versions of Android behave in different ways. Might be added in the future...
Interesting question. You are asking whether you can show the form without a dialog, right? HAH said: Why RTL still not supported! Click to expand... This is quite complicated as different versions of Android behave in different ways. Might be added in the future...
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Apr 14, 2019 #5 Erel said: Interesting question. You are asking whether you can show the form without a dialog, right? Click to expand... Yes,how?
Erel said: Interesting question. You are asking whether you can show the form without a dialog, right? Click to expand... Yes,how?
Erel B4X founder Staff member Licensed User Longtime User Apr 14, 2019 #6 It is currently not possible. Might be added in the future.
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Apr 14, 2019 #7 Erel said: It is currently not possible. Might be added in the future. Click to expand... 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 )
Erel said: It is currently not possible. Might be added in the future. Click to expand... 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 )
Erel B4X founder Staff member Licensed User Longtime User Apr 14, 2019 #8 HAH said: (Yes you can ) Click to expand... It would have actually being simpler to build this library without the dialog. Try to implement your layout with dialogs. They are more efficient with the limited screen space.
HAH said: (Yes you can ) Click to expand... It would have actually being simpler to build this library without the dialog. Try to implement your layout with dialogs. They are more efficient with the limited screen space.
tuhatinhvn Active Member Licensed User Longtime User Apr 15, 2019 #9 can we set default value for item?
Erel B4X founder Staff member Licensed User Longtime User Apr 15, 2019 #10 Yes. The default values are not part of the template. You need to set them in the "data" map.
tuhatinhvn Active Member Licensed User Longtime User Apr 15, 2019 #11 Erel said: Yes. The default values are not part of the template. You need to set them in the "data" map. Click to expand... 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 ?
Erel said: Yes. The default values are not part of the template. You need to set them in the "data" map. Click to expand... 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 ?
Erel B4X founder Staff member Licensed User Longtime User Apr 15, 2019 #12 This tool creates the template. The data is not part of the template. You need to set the defaults in your app: Code: Copy Dim data As Map = CreateMap("Key1": 100, "Key2": "Example")
This tool creates the template. The data is not part of the template. You need to set the defaults in your app: Code: Copy Dim data As Map = CreateMap("Key1": 100, "Key2": "Example")
Gabino A. de la Gala Well-Known Member Licensed User Longtime User Apr 15, 2019 #13 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Apr 15, 2019 #14 I will add an optional validation event. It will allow you to validate the values when the user clicks on OK. Similar to the way the "required" fields work.
I will add an optional validation event. It will allow you to validate the values when the user clicks on OK. Similar to the way the "required" fields work.
Erel B4X founder Staff member Licensed User Longtime User Apr 15, 2019 #15 Added in v1.40: https://www.b4x.com/android/forum/t...alog-cross-platform-forms.103842/#post-657268
jimmyF Active Member Licensed User Longtime User Apr 17, 2019 #16 B4XTable1.COLUMN_TYPE_NUMBERS does not accept decimals, only integers.
Erel B4X founder Staff member Licensed User Longtime User Apr 17, 2019 #17 B4XTable1.COLUMN_TYPE_NUMBERS is not related to B4XPreferencesDialog or forms builder. I guess that you are asking for a new item type that will accept decimal numbers, right?
B4XTable1.COLUMN_TYPE_NUMBERS is not related to B4XPreferencesDialog or forms builder. I guess that you are asking for a new item type that will accept decimal numbers, right?
jimmyF Active Member Licensed User Longtime User Apr 17, 2019 #18 Erel said: I guess that you are asking for a new item type that will accept decimal numbers, right Click to expand... Yes, sorry, of course, 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
Erel said: I guess that you are asking for a new item type that will accept decimal numbers, right Click to expand... Yes, sorry, of course, 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
Erel B4X founder Staff member Licensed User Longtime User Apr 17, 2019 #19 jimmyF said: If you could do it last week it would be even better Click to expand... Hopefully tomorrow...
jimmyF said: If you could do it last week it would be even better Click to expand... Hopefully tomorrow...
jimmyF Active Member Licensed User Longtime User Apr 17, 2019 #20 Erel said: Hopefully tomorrow... Click to expand... Well, that would be incredible. Thank you!