Item Form - add new item, required element is not enforced

More
6 years 8 months ago #68762 by lomuyeh
Replied by lomuyeh on topic Item Form - add new item
OK I see.
I will try to figure out why and reply.

Thanks,
Lomu

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago - 6 years 8 months ago #68763 by lomuyeh
Replied by lomuyeh on topic Item Form - add new item
Hi
OK I found it.
It's module called 'BT login'. The last update of this module is 2016.
Maybe I have to find another module to replace it.

Thanks,
Lomu

[update]
I think it's not the problem of BT login. It's problem of CB login. BT login loads CB login.
Last edit: 6 years 8 months ago by lomuyeh.

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #68764 by lomuyeh
Replied by lomuyeh on topic Item Form - add new item
Hi
Also, a kunena module called 'Kunena Lastest' effects.
Don't know why but I will try to find the problem.
Thanks,
Lomu

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #68765 by ggppdk
Replied by ggppdk on topic Item Form - add new item
Hello

i have also created an article form menu item for Joomla new article form

you can leave the title empty the form will not submit
but
there is a JS error and JS execution before the message for required fields is added in the message at the top

you can see the JS error in JS console


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago - 6 years 8 months ago #68766 by lomuyeh
Replied by lomuyeh on topic Item Form - add new item
I created a test page, copied the html code of add item form, and try to figure which js causing this.

I found that:
/media/system/js/core.js

If core.js is loaded before admin.js, the form is OK.
If core.js is loaded after admin.js, the form is not OK.

Basically, the core.js is loaded before admin.js. But some modules load admin.js again, and after admin.js.

This is what I found. See if this helps.

Thanks,
Lomu
Last edit: 6 years 8 months ago by lomuyeh.

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #68768 by ggppdk
Replied by ggppdk on topic Item Form - add new item
Hello

code is admin.js file
is overriding code in core.js

i will see why it is loaded after admin.js


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.853 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline