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   631 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, 5513 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