Hello - I am trying to design a question and I could use some help.
I need a question that will look like an "image: question on a mobile device (have a button for a camera input) and look like a "File" question on a laptop (allow the user to upload PDF documents). It's fine if both buttons show in each environment, but I am having trouble getting the ability to use the phone to take a photo and upload a pdf in the same question. The user will mostly be using the phone camera method, but occasionally may need to upload a file. I don't mind manually adding the PDF after submission, but that doesn't seem to be working either.
I have tried the following:
Attached is the xls file as it currently stands.
Thank you in advance for any suggestions or ideas.
Solved! Go to Solution.
Hi. I do not think that is possible. An image question is for photos/images. If you want to upload a file, such as a PDF file, you need to use the file question type. This can be a bit confusing with images because images are files, so you can also upload them to the file question type. But in the end, you can't have a question type that allows you to either take a photo with the camera and also allow you to browser for any file type.
Hi. I do not think that is possible. An image question is for photos/images. If you want to upload a file, such as a PDF file, you need to use the file question type. This can be a bit confusing with images because images are files, so you can also upload them to the file question type. But in the end, you can't have a question type that allows you to either take a photo with the camera and also allow you to browser for any file type.
Thank you @IsmaelChivite, as always, for your knowledge and insight with Survey123. That’s what I was afraid of. 🤷🏻:male_sign:
I’m currently working with FILE type files in Survey123 and I was wondering if it’s possible to rename these files using the value from an input, for example ${InputNameFile}.
Any guidance on this would be greatly appreciated. Thank you in advance!
Possibly. I have some forms that rename photos, but haven't tried it with files. Here's what I have in the bind::esri:parameters column in Survey123 Connect for one of my surveys (bolded for emphasis):
fileName=concat("Prefix", ${Field})
If you just want the file named based on a field, you could use fileName=${Field}
Also, I like to lock things down for consistency, so have used the parameter fileNameVisible=false in the body::esri:style column so that the name can't be accidentally (or purposely) changed by the user.
Hope that helps 😁