Select to view content in your preferred language

Search() Appearance

398
1
Jump to solution
06-30-2022 09:04 AM
AKorsos
Emerging Contributor

Hello

I am trying to create a searchable field for the targets that my archaeoligists visit

The target list resides in a CSV called z_FeatureTargetList.csv in the media folder and is formatted as shown below

list_namenamelabel
TargetNoA001A001

 

In the Survey form iwrote the following:

select_one TargetNoTargetNo<b>Select the Target Name</b>  minimal search('z_FeatureTargetList') 

 

However the error I get when attempting to save the form is that 'TargetNo' is not in the choice list.

My understanding of what I read is that iof I indicate a CSV in the search function, it would look for 'TargetNo' in the CSV and not in the choice list.

What am I missing?

Oh... Is it possible to add scroll bars as well?

Thanks in advance for your help...

Andreas

 

0 Kudos
1 Solution

Accepted Solutions
Richard_Purkis
Esri Contributor

@AKorsos I believe what you need to do is modify your xlsx form as follows: 

select_one z_FeatureTargetList.csvTargetNo<b>Select the Target Name</b>

 

And also you need to modify your csv file as follows:

namelabel
A001A001

View solution in original post

1 Reply
Richard_Purkis
Esri Contributor

@AKorsos I believe what you need to do is modify your xlsx form as follows: 

select_one z_FeatureTargetList.csvTargetNo<b>Select the Target Name</b>

 

And also you need to modify your csv file as follows:

namelabel
A001A001