Hi Rohit, Sounds like you need hook_form_FORM_ID_alter(). Regards, Hi, I am developing a website for internal work flow in my organization. I am not sure how to proceed, customization seems very complicated to me. I tried hands on adding custom page, php code, but i m not sure how to redirect webform to a custom php page. Please consider me a newbie. My requirements are: 1. Create a web form. ( with a text and a submit button) 2. get the value of web form text field. 3. process the value through a internal command running on server, display the output. Could you please help me out with these. Thanks and regards, Rohit Sharma
Thanks Tolga, how do i add hooks, i mean which file do i need to modify ? Do i have to create custom module and then add hooks to it? if yes how do i create custom modules? On Wed, Sep 14, 2011 at 1:30 PM, Tolga <tolga@ozses.net> wrote:
Hi Rohit,
Sounds like you need hook_form_FORM_ID_alter().
Regards, Hi,
I am developing a website for internal work flow in my organization. I am not sure how to proceed, customization seems very complicated to me.
I tried hands on adding custom page, php code, but i m not sure how to redirect webform to a custom php page.
Please consider me a newbie.
My requirements are:
1. Create a web form. ( with a text and a submit button) 2. get the value of web form text field. 3. process the value through a internal command running on server, display the output.
Could you please help me out with these.
Thanks and regards, Rohit Sharma
-- Thanks and regards, Rohit Sharma
Yes you need to create a module. Read up http://drupal.org/documentation/develop. On 09/14/2011 11:05 AM, Rohit Sharma wrote:
Thanks Tolga, how do i add hooks, i mean which file do i need to modify ? Do i have to create custom module and then add hooks to it? if yes how do i create custom modules?
On Wed, Sep 14, 2011 at 1:30 PM, Tolga <tolga@ozses.net <mailto:tolga@ozses.net>> wrote:
Hi Rohit,
Sounds like you need hook_form_FORM_ID_alter().
Regards, Hi,
I am developing a website for internal work flow in my organization. I am not sure how to proceed, customization seems very complicated to me.
I tried hands on adding custom page, php code, but i m not sure how to redirect webform to a custom php page.
Please consider me a newbie.
My requirements are:
1. Create a web form. ( with a text and a submit button) 2. get the value of web form text field. 3. process the value through a internal command running on server, display the output.
Could you please help me out with these.
Thanks and regards, Rohit Sharma
-- Thanks and regards, Rohit Sharma
1. Create a web form. ( with a text and a submit button) Webform module or make a content type if you want to store these in the db after they are made. 2. get the value of web form text field. 3. process the value through a internal command running on server, display the output. Add your own submission function or validation based on if you need that. http://drupal.org/node/58689
You can do this in a new module as instructed in the other response. Good luck. -- Michael Favia michael@favish.com tel. 512.669.5650 http://www.favish.com
Thanks Michael. will definitely try it. On Thu, Sep 15, 2011 at 3:19 AM, Michael Favia <michael.favia@gmail.com>wrote:
1. Create a web form. ( with a text and a submit button) Webform module or make a content type if you want to store these in the db after they are made. 2. get the value of web form text field. 3. process the value through a internal command running on server, display the output. Add your own submission function or validation based on if you need that. http://drupal.org/node/58689
You can do this in a new module as instructed in the other response. Good luck.
-- Michael Favia michael@favish.com tel. 512.669.5650 http://www.favish.com
-- Thanks and regards, Rohit Sharma
participants (3)
-
Michael Favia -
Rohit Sharma -
Tolga