Show selected values on frontend but hide them on backend

More
11 years 5 days ago #43334 by jrodgar
Ok, here is my case

Suppose I have a list of values for a select field. Suppose that that values have a validity, where I don´t want to show on the backend all the possible values (maybe they are obsolete), but I don´t want to lose the selection for the ones I have.

The problem now is that as long as I understand, both the frontend selection and the backend selector, are calculated the same way, with the "Values creation -> Field elements" query. That means that if my query there is something like
Code:
select id as value, name as text from list_values where status='valid'

I will show on the backend only the values I want... but I won´t show either (and I want), to show the selected value on the past.

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 1 day ago #43401 by ggppdk
Hello

you can have such a custom behavior only by creating a new field type:

How to Duplicate a Flexicontent Field to create a new Field Type


-- 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 11 months ago #43893 by jrodgar
Thanks for the idea, this worked right! ;)

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

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