Banshee
the secure PHP framework

Forum

Internal reroute when posting a form

Joe Schmoe
11 january 2019, 05:08
The internal reroute option doesn't work when posting form data on the splitform demo.

I setup a reroute for /myform -> /demos/splitform

The initial page shows the url as "/myform", but when you click next, it will show the url as "/demos/splitform" again.

I verified demos/contact and demos/tablemanager don't work either but this probably affects all internal reroutes for pages that have a form.

Also, I looked at the $_page object and it doesn't appear to store the original url which would be helpful to have.
Hugo Leisink
11 january 2019, 16:29
It works as intended. It's a reroute option, not an page-alias option.
Joe Schmoe
11 january 2019, 17:56
Ah, good to know. Thanks.
Message preview

The following BB-codes are available in a message:

  • [b]Bold text[/b]
  • [center]Center text or imagen[/center]
  • [color=color name or #RGB code]Colored text[/color]
  • [i]Italic text[/i]
  • [img]Link to image[/img]
  • [right]Align text or image right[/right]
  • [s]Strike-through text[/s]
  • [size=pixelsize]Big or small text[/size]
  • [u]Underlined text[/u]
  • [url]Link to website[/url]
  • [url=link to website]Link text[/url]