Suffix for values in filter?

More
6 years 10 months ago #67463 by lipatovroman
Hmmm... Is it possible to add unique class for input fields?
I need to add text "from" and "to" before inputs.
I going to make it using css: .input:before {content="from";}

But now inputs does not have unique classes.

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

More
6 years 10 months ago #67464 by ggppdk
Replied by ggppdk on topic Suffix for values in filter?
Hello

you can do it use in the unique HTML class name
fc_html_field_15
that the parent container has

e.g.
Code:
.filter_html.fc_html_field_15 input.fc_field_filter { // ... add your CSS here }


-- 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 10 months ago #67465 by lipatovroman
Ok, how to add own text in placeholders?

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

More
6 years 10 months ago #67466 by lipatovroman
Ok, I found that we can use unique ID of inputs and it works
Code:
#adminForm_15_val1 { background: red; } #adminForm_15_val2 { background: green; }




Now I trying to set placeholders via css
Code:
#adminForm_15_val1::-webkit-input-placeholder::before { content:"111111111"; }

and it does not work...:(

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

More
6 years 10 months ago #67467 by lipatovroman
But I think we need also ability to configure placeholders for filters inputs (text, text range etc)

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

More
6 years 10 months ago #67468 by ggppdk
Replied by ggppdk on topic Suffix for values in filter?
Hello

hhmm, for drop-down Select Filter display

The placeholder parameters exist already :

-- "Customize default option (all values)"
-- "Default option Text"

So i think to rename the Labels of the above 2 parameters, to be:

-- "Enable placeholder"
-- "Placeholder Text"

and then use them in all text / date filters Types too,
(the SLIDERs filter types already have other parameters, probably will not touch these)

and it is quite easy to add

now about having 2 placeholders, i understand that placeholder text can be different
we will need 2nd placeholder if the filter is Text/Date/Select "RANGE"


-- 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.324 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