Re: Web form customization and submit action redirect to custom php code.

Franz Glauber <[email protected]>
Newsgroups gmane.comp.php.drupal.devel
Message-ID <CAKBvJvBdLbmPEV9_wgyGodqvWPTcCBQBxsaU7=ovWtDRKc0JrQ@mail.gmail.com>
Are you using Webform module (http://drupal.org/project/webform) or creating
your own?

People are suggesting hook_form_alter() as a means to override an exiting
module form.

On Wed, Sep 14, 2011 at 5:54 AM, Paolo Mainardi <[email protected]>wrote:

> http://api.drupal.org
>
> hook_form_alter() + #redirect is the answer
>
> On Wed, Sep 14, 2011 at 9:59 AM, Rohit Sharma <[email protected]>
> wrote:
> > 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
> >
>
>
>
> --
> Paolo Mainardi
>
> CTO Twinbit
> ILDN: http://www.ildn.net
> Blog: http://www.paolomainardi.com
>
> -- Please consider the environment before printing this email --
>



-- 
Franz

http://ciudaddelpico.com

Sent from my laptop
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.