Loading...
 
Features / Usability

Features / Usability


Hiding Div with JQ and Pretty Tracker

posts: 41 US

Hello,

By the title my objective should be clear, I wish to hide a Div that contains a title and a #f_numer in it when there is no data filled in the template. Here is my current JQ:

NOTES
div Id="release"
ins_14= $f_14

CODE

if(!$("#ins_14").val()) { $("#release").hide(); }


Note sure where I am going wrong.

Thanks

posts: 1817 Catalan Countries

Hi avocadocommander:

No idea what's wrong (I'm not an expert either), but you can play with a profile where many working examples are up & running. Apply this profile in a testing tiki 12.x for you:

https://profiles.tiki.org/Conditional_Display_in_Forms

 

Hope it helps

 

xavi

P.S: There is a work-in-progress for Tiki14, but unfinished yet, afair.


Upcoming Events

1)  25 Jun 2024 16:00 GMT-0000
Data umbrella : Build Your First Database Web App with (open source) Tiki Trackers
2)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5) 
Tiki birthday
6)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
8)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting