Fieldtype not supported: image

This sub-forum is for discussing all topics related to AppGini Helper JavaScript Library, provided by bizzworxx as a third-party AppGini plugin.
Post Reply
mysh_eireannach
Veteran Member
Posts: 35
Joined: 2016-02-16 22:31

Fieldtype not supported: image

Post by mysh_eireannach » 2020-06-16 22:33

Hi Jan
Looks like AppGini Helper.min.js not supported Fieldtype image
At Table I have one field 'file_l' and received warning message:
AppGiniHelper.min.js:6 AppGiniHelper | ChangeHandler for field 'file_l': Fieldtype not supported: image
_0x5ce73d.<computed> @ AppGiniHelper.min.js:6
_0x2ef639.<computed> @ AppGiniHelper.min.js:6
(anonymous) @ AppGiniHelper.min.js:6
(anonymous) @ AppGiniHelper.min.js:6
i @ jquery-1.12.4.min.js:2
fireWith @ jquery-1.12.4.min.js:2
ready @ jquery-1.12.4.min.js:2
K @ jquery-1.12.4.min.js:2

Could you look please.

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1814
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Fieldtype not supported: image

Post by jsetzer » 2020-06-16 23:06

Hi,

yes, you are right. Image fieldtype and a few others like file upload, google map and YouTube video are not supported by "onChange" handler for technical reasons.

The "onChange handler", you are referring to, can be used for most fieldtypes. But not for all. There are samples on my blog for radio buttons and lookups.

Please note: this function (and a few others) is an undocumented, unsupported and free bonus function for our customers. You can use it "as is".

Regards,
Jan

PS: read more about reacting to changes of...
Radio buttons:
https://appgini.bizzworxx.de/appgini-he ... selection/
Lookups:
https://appgini.bizzworxx.de/appgini-he ... p-changes/
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1814
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Fieldtype not supported: image

Post by jsetzer » 2020-06-16 23:11

Maybe listening for the 'change' event on the form could help detecting changes in those unsupported fieldtypes.

Something like (not tested):

Code: Select all

$j("form[name='myform']").on('change', function() { /* code */ } );
Regards,
Jan
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

Post Reply