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.

General Questions

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

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

Submit Form to Another PHP Page


Reply

2 Posts   522 Views

Avatar
salt_paper

17 July 2013 at 5:23pm (Last edited: 19 July 2013 8:53pm), Community Member, 4 Posts

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

19 July 2013 at 8:53pm (Last edited: 19 July 2013 8:53pm), Forum Moderator, 5511 Posts

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

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