Need info Invalid form control with name='jform[discount_expiration_options]
- Dmitrijs Rekuns
-
Topic Author
- Offline
Less
More
- Posts: 157
- Thank you received: 8
3 days 14 hours ago - 3 days 14 hours ago #3495
by Dmitrijs Rekuns
Invalid form control with name='jform[discount_expiration_options] was created by Dmitrijs Rekuns
Hi Ruud,
I just been faced with an unpleasant issue: when I edit the product, and trying to save the item, nothing happens.
The console shows the error:
Invalid form control with name='jform[discount_expiration_options][discount_expiration_options0][discount_percentage]' cannot be focused.
Joomla 6.1.0, OchSubscrtiptions 5.3.1, php 8.4.1
The discount tab has standard settings:
Thanks in advance.
I just been faced with an unpleasant issue: when I edit the product, and trying to save the item, nothing happens.
The console shows the error:
Invalid form control with name='jform[discount_expiration_options][discount_expiration_options0][discount_percentage]' cannot be focused.
Joomla 6.1.0, OchSubscrtiptions 5.3.1, php 8.4.1
The discount tab has standard settings:
Thanks in advance.
Last edit: 3 days 14 hours ago by Dmitrijs Rekuns.
Please Log in to join the conversation.
- Ruud van Lent
-
- Away
Less
More
- Posts: 1820
- Thank you received: 117
3 days 4 hours ago #3497
by Ruud van Lent
Replied by Ruud van Lent on topic Invalid form control with name='jform[discount_expiration_options]
Hi Dmitrijs,
can you tell me which script and on which line of that script the error is thrown in the console? Should be part of the error in the console
can you tell me which script and on which line of that script the error is thrown in the console? Should be part of the error in the console
Please Log in to join the conversation.
- Dmitrijs Rekuns
-
Topic Author
- Offline
Less
More
- Posts: 157
- Thank you received: 8
3 days 1 hour ago - 3 days 1 hour ago #3499
by Dmitrijs Rekuns
Replied by Dmitrijs Rekuns on topic Invalid form control with name='jform[discount_expiration_options]
Last edit: 3 days 1 hour ago by Dmitrijs Rekuns.
Please Log in to join the conversation.
- Dmitrijs Rekuns
-
Topic Author
- Offline
Less
More
- Posts: 157
- Thank you received: 8
3 days 1 hour ago - 3 days 1 hour ago #3501
by Dmitrijs Rekuns
Replied by Dmitrijs Rekuns on topic Invalid form control with name='jform[discount_expiration_options]
btw, I set to PHP 8.3 to check out but it did not help. I set back to PHP 8.4.
Last edit: 3 days 1 hour ago by Dmitrijs Rekuns.
Please Log in to join the conversation.
- Ruud van Lent
-
- Away
Less
More
- Posts: 1820
- Thank you received: 117
3 days 1 hour ago #3502
by Ruud van Lent
Replied by Ruud van Lent on topic Invalid form control with name='jform[discount_expiration_options]
What is the skipto script listed in the console?
Please Log in to join the conversation.
- Dmitrijs Rekuns
-
Topic Author
- Offline
Less
More
- Posts: 157
- Thank you received: 8
3 days 1 hour ago #3503
by Dmitrijs Rekuns
Replied by Dmitrijs Rekuns on topic Invalid form control with name='jform[discount_expiration_options]
The second notification:
Source Map Error: Request failed with status 404 Resource URL: https://domain/media/vendor/skipto/js/skipto.min.js?4.1.7 Source Map URL: skipto.min.js.map/*@end
I thought it is something related to core files of Joomla.
firefox-source-docs.mozilla.org/devtools...utm_campaign=default
Btw, I see this notification on all pages in the Administrator Panel excluding OCHSubs.
Source Map Error: Request failed with status 404 Resource URL: https://domain/media/vendor/skipto/js/skipto.min.js?4.1.7 Source Map URL: skipto.min.js.map/*@end
I thought it is something related to core files of Joomla.
firefox-source-docs.mozilla.org/devtools...utm_campaign=default
Btw, I see this notification on all pages in the Administrator Panel excluding OCHSubs.
Please Log in to join the conversation.
- Dmitrijs Rekuns
-
Topic Author
- Offline
Less
More
- Posts: 157
- Thank you received: 8
3 days 59 minutes ago - 3 days 57 minutes ago #3504
by Dmitrijs Rekuns
Replied by Dmitrijs Rekuns on topic Invalid form control with name='jform[discount_expiration_options]
[domain]/media/vendor/skipto/js/skipto.min.js?4.1.7
It seems this is something related to accessibility standards.
/*! skipto - v4.1.7 - 2023-01-13
* github.com/paypal/skipto
* Copyright (c) 2023 PayPal Accessibility Team and University of Illinois; Licensed */
/*@cc_on @*/
/*@if (@_jscript_version >= 5.@*/
It seems this is something related to accessibility standards.
Last edit: 3 days 57 minutes ago by Dmitrijs Rekuns.
Please Log in to join the conversation.
- Dmitrijs Rekuns
-
Topic Author
- Offline
Less
More
- Posts: 157
- Thank you received: 8
3 days 54 minutes ago - 3 days 53 minutes ago #3505
by Dmitrijs Rekuns
Replied by Dmitrijs Rekuns on topic Invalid form control with name='jform[discount_expiration_options]
I set CodeMirror instead of TinyMCE and both yellow color notifications disappeared but when save the Product, the same "Invalid form control" error occurs...
Last edit: 3 days 53 minutes ago by Dmitrijs Rekuns.
Please Log in to join the conversation.
- Ruud van Lent
-
- Away
Less
More
- Posts: 1820
- Thank you received: 117
2 days 21 hours ago #3511
by Ruud van Lent
Replied by Ruud van Lent on topic Invalid form control with name='jform[discount_expiration_options]
You have configured the product to have in discount tab > Expiration Discount(s) = Use Global = yes
can you tell me what you have configured in component global configuration > Discounts / Notifications tab > Expiration Discount(s) = Yes > Discounts?
So what Discounts have you configured there?
can you tell me what you have configured in component global configuration > Discounts / Notifications tab > Expiration Discount(s) = Yes > Discounts?
So what Discounts have you configured there?
Please Log in to join the conversation.
- Dmitrijs Rekuns
-
Topic Author
- Offline
Less
More
- Posts: 157
- Thank you received: 8
2 days 20 hours ago #3512
by Dmitrijs Rekuns
Replied by Dmitrijs Rekuns on topic Invalid form control with name='jform[discount_expiration_options]
The screenshots are enclosed.
Thank you.
Thank you.
Please Log in to join the conversation.