Skip to main content
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
Results tagged with
Search options not deleted user 167
2 votes

Frontend form database error with empty Users field

Figured it out. If you want to return an empty Users field, the field name attribute has to look like this: <select name="fields[teacher]" value=""> But if you want to return a non-empty Users fiel …
Clive Portman's user avatar
1 vote
1 answer
117 views

Entry not saving when date isn't changed using frontend form

When editing an entry (actually it's a product within Craft Commerce but everything seems the same) with a pre-existing date, the field looks like this: <input name="fields[date][date]" value="06/12/ …
Clive Portman's user avatar
1 vote
Accepted

Entry not saving when date isn't changed using frontend form

Something I'd not done with the edit form was replace [new1] with [{{variant.id}}] for the variant inputs. As I said, the form was saving correctly anyway if I changed the date, so I didn't expect cor …
Clive Portman's user avatar
1 vote
1 answer
84 views

How to prevent non-image files being uploaded through frontend form?

Is this possible? At the point of upload, the entry field isn't checked so anything can be uploaded, which is a bit worrying. Then again, if it's an Amazon S3 bucket, does it even matter? It won't be …
Clive Portman's user avatar
1 vote
2 answers
64 views

Frontend form database error with empty Users field

Within a frontend Add Product form (using Craft Commerce) I'm having problems with a database error whenever a Users field is left empty. …
Clive Portman's user avatar