Hi,
I have the latest Bizzworxx Java script library. I am using one of the modifications for detail view for collapsible panels
https://appgini.bizzworxx.de/products/j ... le-panels/
Since I applied the modification on that table when a field is required I still get the alert of the required field but it does not take me automatically there, in simple words does not auto focus on the required field like before.
How can I fix that it does work like before?
Problem with "Required" behavior
Re: Problem with "Required" behavior
Good morning,
when required fields have been placed in collapsible panels which are closed (collapsed) and then validation fails, the fields get marked but the parent collapsed panel does not open automatially.
We need to automatically open collapsed panels containing .has-error elements after validation, if validation has failed. And best would be if the element could be scrolled into view and also focused.
I have tried several overridings of AppGini standard code. I'm close to the solution. Stay tuned.
when required fields have been placed in collapsible panels which are closed (collapsed) and then validation fails, the fields get marked but the parent collapsed panel does not open automatially.
We need to automatically open collapsed panels containing .has-error elements after validation, if validation has failed. And best would be if the element could be scrolled into view and also focused.
I have tried several overridings of AppGini standard code. I'm close to the solution. Stay tuned.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<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 readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: Problem with "Required" behavior
OK, I think I have got a working solution. I did not only optimize for required empty fields in collapsed panels but also for required empty fields in different tabs.
Check out this example
There are three required fields inside a collapsible panel in a custom tab:
Note that
Now I'm going to collapse the panel...
...and select a different tab, then try to save the record.
As expected, AppGini validation pops up the well known modal dialog...
...and after clicking [OK] button, my workaround code activates the correct tab, then expands the collapsed panel and focuses on the required but empty field:
Check out this example
There are three required fields inside a collapsible panel in a custom tab:
Note that
Ordernumber
is required but empty.Now I'm going to collapse the panel...
...and select a different tab, then try to save the record.
As expected, AppGini validation pops up the well known modal dialog...
...and after clicking [OK] button, my workaround code activates the correct tab, then expands the collapsed panel and focuses on the required but empty field:
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<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 readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: Problem with "Required" behavior
I am planning to add this optimization to next version of AppGini Helper Javascript Library.
If you need that optimization earlier, please send your order number to [email protected].
Within your 1-year-free-updates period I can send the required code to you.
If you need that optimization earlier, please send your order number to [email protected].
Within your 1-year-free-updates period I can send the required code to you.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<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 readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
-
- Veteran Member
- Posts: 90
- Joined: 2015-11-23 01:02
Re: Problem with "Required" behavior
Thank you so much! I sent you the latest order via email. Also purchased the additional plugin that you have. Thanks.