Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Submit Form to Another PHP Page


Go to End


2 Posts   1699 Views

Avatar
salt_paper

Community Member, 4 Posts

17 July 2013 at 5:23pm

Edited: 19/07/2013 8:53pm

We had chosen Silverstripe as a CMS, frontend for customers. All the code/backend functionality is on another PHP app.

I just want to post the Silverstripe form to another PHP page so i get the submit data for processing. How i can mention the form action to http://www.xyzz.com/signup_process.php

Thanks.

Avatar
Willr

Forum Moderator, 5523 Posts

19 July 2013 at 8:53pm

Edited: 19/07/2013 8:53pm

Use Form::setFormAction to set a custom form action.

http://api.silverstripe.org/3.0/class-Form.html#_setFormAction