Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [range]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
200 views

Searching Number Field To See If It Falls In A Range

I'm building a property search form and searching by different types of fields in Craft. Here are my questions: How can I get a list of the unique cities in the entries section to declare my form ...
1
vote
1answer
111 views

Search using the MX Range Slider plugin

I have a super table field (scoreRanges) that has two columns: mx range slider (range) & rich text (summary). Some entries can have multiple rows: I'm trying search a row in that field that has a ...
2
votes
2answers
2k views

Random Number from range

What is the best way to get a random number within a certain range? I made something but I guess there is a better way: In this example I want to position some elements randomly. This approach works,...
1
vote
1answer
128 views

How would I create a select element with the 14 days from today as options

I'm looking to create a select (dropdown) form field that includes the days and dates for the next 14 days, starting from today, as options. My initial thoughts on how to construct this would be to ...
0
votes
1answer
285 views

Inline image transform using Matrix field for image quality?

Hope I'm not posting incorrectly here but don't have enough reputation yet (really don't understand that system at all) to be able to comment on another post here on the exchange. Original Post - ...
2
votes
1answer
223 views

How can I group a list of tags into ranges of first letters (A–E, F–J, etc.)?

I'd like to be able to fetch a list of tags from a blog section and then group them into ranges of letters. I've used this code to fetch and group a list of tags by first letter: {% set entries = ...