Jump to:

2012 Posts in 1438 Topics by 621 members

Form Questions

SilverStripe Forums » Form Questions » Relative paths for FormAction

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

Page: 1
Go to End
Author Topic: 1302 Views
  • robs1983
    Community Member
    1 Post

    Relative paths for FormAction Link to this post

    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

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.