Questions tagged [range]
The range tag has no usage guidance.
7
questions
1
vote
2
answers
28
views
Range filter doesn't accept variables
How do I pass variables into the range filter from a static supertable field?
{% for item in variants.b2bProductQty %}
{% set start = item.selectRange.cellStartInteger %}
{% set end = item....
0
votes
2
answers
492
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
1
answer
128
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
2
answers
3k
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
1
answer
181
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
1
answer
327
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
1
answer
279
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 = ...