Add class "required" on Label in item form

More
10 years 10 months ago #45059 by brandonking
Hi,

Please consider adding class "required" on Label in item form when field set to required.

Regards,

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

More
10 years 10 months ago #45060 by ggppdk
Hello

Right this makes sense, i mean adding the 'required' class to field label to highlight required fields before form submits


- since all FLEXIcontent fields have same parameter name: "required" for being required in item form,
we added this for next version


Just not sure if class should be "required", in case this forces some other CSS maybe "fc_lbl_required" together with some FLEXIcontent default CSS ?


-- 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
10 years 10 months ago #45061 by brandonking

Just not sure if class should be "required", in case this forces some other CSS maybe "fc_lbl_required" together with some FLEXIcontent default CSS ?


You are right, "fc_lbl_required" wouldl be good.

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

More
10 years 10 months ago #45108 by brandonking
I have updated to r1851 but still no class name "fc_lbl_required" found.
Is it something to do with template?
I use override, maybe that's why...

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

More
10 years 10 months ago #45110 by ggppdk
Hello

-- the label are created by form.php so yes update your form

- the class name that is being added is "required"


-- 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
10 years 9 months ago #45477 by fleximan
thanks for posting this. I was noticing the same issue with the labels and think adding a required class would really help.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.866 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