Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

?spf=navigation between form response and redirected page #428

Open
andrewfluck opened this issue Oct 31, 2016 · 2 comments
Open

?spf=navigation between form response and redirected page #428

andrewfluck opened this issue Oct 31, 2016 · 2 comments

Comments

@andrewfluck
Copy link

It would be very useful to have a class to add to a form that will allow for similar behavior as a link. Ex: you have a form that posts data to the server and redirects you to a URL parameter according to what you type. ex: /weather/:zip I would like to send data to the page through SPF to transition between the content which is my main purpose for using this library.

@andrewfluck andrewfluck changed the title SPF between forms ?spf=navigation between forms Oct 31, 2016
@andrewfluck andrewfluck changed the title ?spf=navigation between forms ?spf=navigation between form response and redirected page Oct 31, 2016
@RoneyThomas
Copy link

Did you look into spf.navigate and spf.load??? By using the following functions you can load or navigate based on your form data.

@andrewfluck
Copy link
Author

see what I was thinking was automatically intercepting post and get requests built in to the library, that way it will send the for data via xhr and send the ?spf=navigate along with it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants