I want an option where user chooses what he/she wants to upload photo or a file in single column. If user want to upload photo then image type should come otherwise file option.
Solved! Go to Solution.
OK, so you have to keep in mind that, because these are two different types, you can not replace these alternatively under the same column.
However, assuming you need to provide only one picture or file per row, you can work around that with adding another column, so you will have:
Then, you can use the Show_If condition to display or hide, in the form, the column you wish, depending on the one picked by the user.
This way, as soon as one of the field have been completed, the other one will be hidden.
To do so, you need to have this configuration:
and show_if conditions:
Please note that the hiding will happen only with Form View.
With Table View, you will have the 2 columns displayed side-by-side.
Hope that helps, let us know if that works for you
Iโm not sure of understanding your need.
When you set type as โimageโ, the user will have the choice to use a capture, or an image from device roll.
Type File is more adequate for pdf or so.
Why do you need to use a file instead ?
So I am dealing with both photos and files. If I want to click picture then image type should come. If I want to upload files or multiple photos then file type should come.
Anything I upload whether a file or a picture should come under same column.
OK, so you have to keep in mind that, because these are two different types, you can not replace these alternatively under the same column.
However, assuming you need to provide only one picture or file per row, you can work around that with adding another column, so you will have:
Then, you can use the Show_If condition to display or hide, in the form, the column you wish, depending on the one picked by the user.
This way, as soon as one of the field have been completed, the other one will be hidden.
To do so, you need to have this configuration:
and show_if conditions:
Please note that the hiding will happen only with Form View.
With Table View, you will have the 2 columns displayed side-by-side.
Hope that helps, let us know if that works for you
Thank you!!
User | Count |
---|---|
37 | |
31 | |
29 | |
22 | |
18 |