<p>Bud we have answered your question twice now. You don't have to make your own form but can if you want (then you have to store data in db if you want to keep it). </p>
<p>All forms in drupal use submission and validation callbacks and you can add one to any form with a hook form alter that use the forms #id to specify #validate as the name of a function that does what you want and that will get called. Read the links I sent and TRY something. Read how to develop a module. </p>
<div class="gmail_quote">On Sep 17, 2011 1:23 AM, "Rohit Sharma" <<a href="mailto:imreckless@gmail.com">imreckless@gmail.com</a>> wrote:<br type="attribution">> That redirect is just for notification, or redirect to custom page, i meant<br>
> to submit form contents to my custom php code.? correct me if i am wrong.<br>> <br>> On Wed, Sep 14, 2011 at 7:04 PM, Franz Glauber <<a href="mailto:franz.glauber@gmail.com">franz.glauber@gmail.com</a>>wrote:<br>
> <br>>> AFAIK, Webform module allows you to set a custom redirect.<br>>><br>>><br>>> On Wed, Sep 14, 2011 at 8:50 AM, Rohit Sharma <<a href="mailto:imreckless@gmail.com">imreckless@gmail.com</a>>wrote:<br>
>><br>>>> So i am proceeding this way.<br>>>><br>>>> 1. Create custom module.<br>>>> 2. Add custom form ( can we integrate available webform) ?<br>>>> 3. Implement hook in mymodule.module file (hook_form_alter)<br>
>>><br>>>><br>>>><br>>>><br>>>> On Wed, Sep 14, 2011 at 5:09 PM, Paolo Mainardi <<a href="mailto:paolomainardi@gmail.com">paolomainardi@gmail.com</a>>wrote:<br>>>><br>
>>>> You have to create a new module, <a href="http://drupal.org/project/examples">http://drupal.org/project/examples</a><br>>>>><br>>>>> On Wed, Sep 14, 2011 at 1:22 PM, Rohit Sharma <<a href="mailto:imreckless@gmail.com">imreckless@gmail.com</a>><br>
>>>> wrote:<br>>>>> > Hi,<br>>>>> ><br>>>>> > Thanks for the information. I have created the webform.<br>>>>> > So now, where do i add hook. do i have to just add a php function in<br>
>>>> > webform.module ??<br>>>>> ><br>>>>> > Thanks,<br>>>>> > Rohit<br>>>>> ><br>>>>> > On 9/14/11, Paolo Mainardi <<a href="mailto:paolomainardi@gmail.com">paolomainardi@gmail.com</a>> wrote:<br>
>>>> >> <a href="http://api.drupal.org">http://api.drupal.org</a><br>>>>> >><br>>>>> >> hook_form_alter() + #redirect is the answer<br>>>>> >><br>>>>> >> On Wed, Sep 14, 2011 at 9:59 AM, Rohit Sharma <<a href="mailto:imreckless@gmail.com">imreckless@gmail.com</a>><br>
>>>> wrote:<br>>>>> >>> Hi,<br>>>>> >>><br>>>>> >>> I am developing a website for internal work flow in my organization.<br>>>>> >>> I am not sure how to proceed, customization seems very complicated to<br>
>>>> me.<br>>>>> >>><br>>>>> >>> I tried hands on adding custom page, php code, but i m not sure how<br>>>>> to<br>>>>> >>> redirect webform to a custom php page.<br>
>>>> >>><br>>>>> >>> Please consider me a newbie.<br>>>>> >>><br>>>>> >>> My requirements are:<br>>>>> >>><br>>>>> >>> 1. Create a web form. ( with a text and a submit button)<br>
>>>> >>> 2. get the value of web form text field.<br>>>>> >>> 3. process the value through a internal command running on server,<br>>>>> >>> display the output.<br>
>>>> >>><br>>>>> >>><br>>>>> >>> Could you please help me out with these.<br>>>>> >>><br>>>>> >>><br>>>>> >>><br>
>>>> >>> Thanks and regards,<br>>>>> >>> Rohit Sharma<br>>>>> >>><br>>>>> >><br>>>>> >><br>>>>> >><br>>>>> >> --<br>
>>>> >> Paolo Mainardi<br>>>>> >><br>>>>> >> CTO Twinbit<br>>>>> >> ILDN: <a href="http://www.ildn.net">http://www.ildn.net</a><br>>>>> >> Blog: <a href="http://www.paolomainardi.com">http://www.paolomainardi.com</a><br>
>>>> >><br>>>>> >> -- Please consider the environment before printing this email --<br>>>>> >><br>>>>> ><br>>>>> ><br>>>>> > --<br>
>>>> > Thanks and regards,<br>>>>> > Rohit Sharma<br>>>>> ><br>>>>><br>>>>><br>>>>><br>>>>> --<br>>>>> Paolo Mainardi<br>
>>>><br>>>>> CTO Twinbit<br>>>>> ILDN: <a href="http://www.ildn.net">http://www.ildn.net</a><br>>>>> Blog: <a href="http://www.paolomainardi.com">http://www.paolomainardi.com</a><br>
>>>><br>>>>> -- Please consider the environment before printing this email --<br>>>>><br>>>><br>>>><br>>>><br>>>> --<br>>>> Thanks and regards,<br>
>>> Rohit Sharma<br>>>><br>>>><br>>>><br>>><br>>><br>>> --<br>>> Franz<br>>><br>>> <a href="http://ciudaddelpico.com">http://ciudaddelpico.com</a><br>
>><br>>> Sent from my laptop<br>>><br>> <br>> <br>> <br>> -- <br>> Thanks and regards,<br>> Rohit Sharma<br></div>