Good day to all,
I have actually two problems which are related, I have 3 pairs of fields called language pairs (Separated by 1,2,3). The pair (source language and target language) need to be searched from views.
Basically the fields will look like this
Source Target
English Japanese
Japanese English
Russian English
I need to make the fields searchable, and I after thinking about it I came up with two possible ways:
A. Have two drop-downs, Source and Target language and do some php coding to search all the language pair fields.
B. Combine the source and target fields so that in the interface there will be a drop-down that will contain a filter that looks like:
English > Japanese
Japanese > English
Russian > English
Then the selected filter value will then be compared to a custom formatted field which will contain the language pairs in csv. ( I guess with the views formatted field?)
My question is which one is the best approach I could use and how do I go about implementing them? There is also an issue that I may have to add some more language pair fields (adding 4,5,6 ...).
Kind Regards and Thanks.