Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
3
votes
2
answers
2k
views
Get the ID of a new entry when it's saved
Is there a way to save a new entry with a template form, then pass the ID of that new entry along to the redirect location? … The use case is, I'm interacting with a scheduling service and want to pass along the new craft entry ID in a query string to their API. …
1
vote
1
answer
653
views
Getting checkbox options for a new entry, without having an entry
How would I get a list of all the checkbox options associated with a specific field, without having an entry to loop over? I'm using the same form for creating new entries and editing existing ones. … .
{% if entry is defined and entry.id is not empty %}
{% for option in entry.myFieldOptions.options %}
<div class="checkbox">
{% set checked = false %}
{% if option.selected …