-
I have one set of forms where my attachment (photos) re-naming naming expression works fine and another where a similar expression fails and the photos are named with a default fallback. In another project a very similar expression doesn't work unless I stop using the reference to variables - I can't figure out why one works and the other not - I have checked the expression generates a successful result. This is the one that doesn't work |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Hi, I would write it this way : Bye |
Beta Was this translation helpful? Give feedback.
-
This really depends on the field data types and the allowable values for them. It's hard to troubleshoot what the issue is and indeed whether it's a QField issue in the first place, without more details (e.g., what widget type is used for |
Beta Was this translation helpful? Give feedback.
-
In this instance using a variable in the expression for the attachment name works if the variable is set using the range widget rather than the text edit widget. |
Beta Was this translation helpful? Give feedback.
In this instance using a variable in the expression for the attachment name works if the variable is set using the range widget rather than the text edit widget.