Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I would like to set a custom input filter for CCK Currency.
I can now select both amount and currency but both are text
inputs. I'd like to have a available currency select
input with a limited options of currencies I am using, paired with a text input for the amount.
It would be even greater to have two text inputs to be able to define a range of amounts (i.e. from 20€ to 100€).
I haven't been able to found anything in this module nor looking for theme/module overrides. Some help on this?
Thank you
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedI solved the range by setting the operator to
In between
.I am trying to set the available currencies programatically like this:
But I get a
An illegal choice has been detected. Please contact the site administrator.
error in the view.How can I fix this?
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedSolved:
Thanks to Tom at http://drupal.stackexchange.com/questions/3518/custom-cck-currency-expos...