A Drawing field might look too big on mobile devices.
You can control the size by using an initial value like:
This will insert a white image with the size 1x1 pixel.
Now the Drawing field is smaller.
If you want it to be a Required field, you have to add a Valif If expression:
And an Initial value error like:
“Image is required”
So the user has to “Tap to unlock”.
I’m using this for taking images and annotate on them.
If the Drawing column is not required but you don’t want to store the initial value you can have an event action on form save.
Data: set the values of some columns in this row
Set the column [Drawing] to
Only if this condition is true:
This will erase the dummy image after saving the form.
But in this case you should also use a Reset on Edit expression:
This will put in the dummy image in again when you edit the row.
For the initial value you can also use a base64 image like:
This is the base64 code for a transparent png with the size 1x1 pixel.
Or you can use an image in your folder structure like:
But in this case you have to disable “Require Image and File URL Signing”. And it will take some time to load.
Or you can use an image like
I was inspired from another idea I had: