CakePHP design url -


in cakephp environment have reuqest form method 'get'. when send form, controller goes to

http://www.example.com/circles/index?searchterm=something 

indstead of (cakestyle)

http://www.example.com/circles/index/searchterm:something 

i don't know have search for. url redirecting working properly. it's if send request 'get' method.

thank help.

ivo

its because of request params goes url query string. if want these value named params. have jquery work. ex : should change submit method post , field values on submit , make url want can submit through jquery.


Comments

Popular posts from this blog

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -