how to search the checkbox status? #6332
-
Hi, current , i can search the "checkbox" or "checked" to get the notes with checkbox.(I think that use full search the html code input type=checkbox , checked="checked" to implement it.) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Yeah, HTML checkboxes are not really designed for searchability. If I wanted to be able to search, I would use promoted attribute with type checkbox instead. |
Beta Was this translation helpful? Give feedback.
-
In the common cases, the note will include many tasks.
|
Beta Was this translation helpful? Give feedback.
-
FWIW I was able to search for unchecked checkboxes with
Explanation: |
Beta Was this translation helpful? Give feedback.
-
How do I use this? I'm trying to get a note that collects all my todo lists (regardless of html or markdown) and show them in one place. In an ideal world, it would be great to see a date next to them, or have them grouped by their original note. I've spent a few days trying to utilise a JS frontend script, and a render note, but just seem to be having much luck. Thanks |
Beta Was this translation helpful? Give feedback.
-
Thanks, This is close enough to what i need. Just wondered if it is possible to have this note displayed without the search query being displayed, i.e. like a render note, or have the quesry run and hide automatically when that note is opened? |
Beta Was this translation helpful? Give feedback.
You press the "Search Notes" button in the launch bar and paste the search query provided by @brownterryn and then run the search.
You can save this search by pressing "Save to note".
You can even add
#expanded
to expand all the results by default or add a#viewType=grid
to display them as a grid instead.