Hello! I'm trying to find the part where the textbox is rendered, but I can't. What I want to do is to have a selection box instead of a textbox, so that the viewers can only select specific keywords from a list which is generated by a mysql statement before showing the form.
I'm doing this because I'm running a site with greek contents, where it has hyphenation on its vowels. This means that it's impossible to find a place if you don't use hyphenation, so I prefer to give them predefined values instead of letting them write their own.
Is it possible ?
Comments
Comment #1
douggreen commentedYou can do this if you write some code. You can either do this in a custom module (hook_form_alter, the $form_id will depend on which version of Drupal you are using and what they name of your form is) or in the theme (theme_views_filterblock_output). From there you can alter the $form. You should be familiar with FAPI and theming. If you use the theme method, you'll need to form_render it.
Comment #2
douggreen commentedClosing due to no response in over a week...