Target Field Initially HIDDEN in Frontend edit

23 views
Skip to first unread message

cardman3000

unread,
Oct 1, 2020, 9:06:23 AM10/1/20
to Joomla Component Builder
Hello community

I've only been using this component for a few days and I'm excited about it.
As far as I have understood the basics and am trying to make a simple component.
I was working on a (probably simple) problem for many hours and couldn't solve it:
I configured a "Field Condition" in the Admin View:
Target Field: New Serial
Target Behavior: Show Toggle
Target relation: isolates
Match Field: Available (radio)
Match Behavior: Is
Match Options: 3 | SN

So far so good: this setting works perfectly in the administrator area (backend). This means that when this data record is edited, the "New Serial" field does NOT initially appear. Only when option 3 (SN) is selected does the New Serial field appear. I also wanted that in the front end.
But in the frontend the New Serial field appears immediately and disappears again when another option in the "Available" field is clicked. If option 3 is clicked in the front end, the "New Serial" field appears again.

I also tried "showon" with the Field parameter, without success.
Various Joomla templates and frameworks were also tested.

My question to experts: how do I get the target field initially HIDDEN in the frontend (just as it works in the backend).

Many thanks in advance

cardman3000

unread,
Oct 3, 2020, 5:06:08 AM10/3/20
to Joomla Component Builder, cardman3000
Maybe the question was too complicated or not understandable in my poor english. 
I'm trying to make it easier now: is the backend view of an admin site with "Field Conditions" also possible in frontend edit?

((ewe))yn

unread,
Oct 8, 2020, 4:13:44 PM10/8/20
to Joomla Component Builder
The conditions being used in the admin view, will be moved to the front-end when you add the view to the component, and set it to the front-end like this:



But to use this feature in the Site-view is not possible at this time.

cardman3000

unread,
Oct 21, 2020, 4:32:23 AM10/21/20
to Joomla Component Builder, ((ewe))yn
Thanks  ((ewe))yn ,

I've found out that hide/show toggle works perfectly under Vertex framework.
Don't know why (probably less conflicts with template java scripts) but it works  same as in backend.

Reply all
Reply to author
Forward
0 new messages