CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 CCS & Bookmarking issue : Get Rid Of Trailing ? for return page urls from submit buttons

Print topic Send  topic

Author Message
joseph2k

Posts: 72
Posted: 07/26/2007, 7:39 PM

I have a long form that is split into multiple sections with multiple submit buttons.

Each submit button has a return page with current page but appended to it is a bookmark that takes you directly to a section you just worked on.

However, I always get the right url but it has a trailing "?"

Normally, this is not a problem but I recently it conflicts with some other code on my page.

This is specifying a return page of say
foo.php#bookmark results in url of
www.mydomain.com/foop.php#bookmark?

I want to avoid using a HTTP redirect upon load.


Any body have a solution to using bookmarks in conjunction with ccs submit buttons?

View profile  Send private message
klwillis


Posts: 428
Posted: 08/06/2007, 7:55 PM

You'll have to programitically strip off the '?' from the return URL.

You can do this in the 'After Insert' and 'After Update' event code areas.

Quote joseph2k:
I have a long form that is split into multiple sections with multiple submit buttons.

Each submit button has a return page with current page but appended to it is a bookmark that takes you directly to a section you just worked on.

However, I always get the right url but it has a trailing "?"

Normally, this is not a problem but I recently it conflicts with some other code on my page.

This is specifying a return page of say
foo.php#bookmark results in url of
www.mydomain.com/foop.php#bookmark?

I want to avoid using a HTTP redirect upon load.


Any body have a solution to using bookmarks in conjunction with ccs submit buttons?



_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
View profile  Send private message
datadoit.com
Posted: 08/06/2007, 8:24 PM

If you're on Apache, look at mod_rewrite. Here's a little discussion on it:

http://www.webmasterworld.com/apache/3216645.htm

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.