By werushka on
in #2 there is a solution but I couldn't figure out to impement it
is it possible for anyone to explain me how to do it and accomplish results
in #2 there is a solution but I couldn't figure out to impement it
is it possible for anyone to explain me how to do it and accomplish results
Comments
*_*
It says
You need to implement the hook_form_alter and filtering the form using the $form_id and have to paste that code in.
Feel free to send query to beautifulmind on #drupal-support.
Regards.
Regards.
🪷 Beautifulmind
Beatufulmind thanks for your
Beatufulmind thanks for your reply. My problem is I dont know how to do hook. I prefer adding template.php file would you please help me
*_*
Well, you have to create a custom module( includes a .info and a .module file) to write the hook in. You can not simply add hook_form_alter in the template.php file.
Regards.
Regards.
🪷 Beautifulmind
maybe it works for you
I'm not sure that is the best solution to the problem, but but maybe it works for you
you need to add 2 files
my_module.info
my_module.module
You can read the documentation:
hook_form_alter: http://api.drupal.org/api/function/hook_form_alter
about Computed Field module,
http://drupal.org/project/computed_field
Computing a field from a view:
http://drupal.org/node/180013
Computed Field Code Snippets
http://drupal.org/node/149228
jvizcarrondo thanks for your
jvizcarrondo thanks for your reply i have created the module as folliows
my_module.info
my_module.module
ant I set the field_age in views filter as Exposed and "is equal to" = All
should I enable the module because if i enable the module it just gives me like debug info
Add php tags (<?php)
you need add php tags in my_module.module
thanks for the quick tip now
thanks for the quick tip now i can enable the module but i still see field_age field that i have to enter a value to do filter :(( something must be missing
it was my bad I was putting a
it was my bad I was putting a wrong field name...now it works please provide me your paypal email...
mail
I will send my mail yesterday for your contacts form