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.

Form Questions /

Relative paths for FormAction


Reply


1306 Views

Avatar
robs1983

Community Member, 1 Post

28 January 2010 at 3:11am

Hello together,

I hope you can help me :)

I use a silverstripe installation on a german host provider, called strato.

In one page, I use a form, which works correct (www.website.de/Anmeldung).

The formattributes are "<form id="Form_Form" action="/anmeldung/Form" method="post" enctype="application/x-www-form-urlencoded">"

Now, I want to use SSL. Here, strato redirects the site to https://www.ssl-id.de/www.website.de/Anmeldung
The formattributes are "<form id="Form_Form" action="/www.website.de/anmeldung/Form" method="post" enctype="application/x-www-form-urlencoded">"

Thus, the form action doesn't work, because of using relative paths in action.

Is there a possibility to change the path?

Best regards
robs