I solved this problem.
Undoubtedly, the problem is a filter somewhere, probably within the bowels of views. In this case I think the filter is designed to be a little over aggressive, or conservative. This field starts as a date. In the view I rewrite the value as a link. Since I, the site administrator, am responsible for how it gets rewritten I don't see the need for this aggressive filtering, but I really don't want to go down this line.
Here's the solution: Using Views Theme Information facility I got a list of applicable tpl.php files that I could use. I chose the most specific, views-view-field--view-courses--page-2--field-c-date-value.tpl.php, although I think I'll eventually rename this to use it with another version of this view. Here's the code, inelegant as it is:
<?php $output = str_replace ( "%5B" ,"[", $output );
$output = str_replace ( "%5D" ,"]", $output );
$output = str_replace ( "%3F" ,"?", $output );
$output = str_replace ( "%3D" ,"=", $output );
print $output; ?>
Along the way I learned a few lessons that may help others:
Hopefully this information will save someone else the frustration I experienced.
Happy coding,
Curt
I'm stumped and I need some help.
Here's the environment:
I've got a view that produces a list of courses (courses is a CCK node type). I've got a Register webform for registering. The form has a date field (actually a simple textfield designated to hold a date). I want to generate a link from the view to the webform that prepopulates the date field.
The code in the Link Path field for the date field in the view is:
register/insurance?edit[submitted][class_selections][class_starting_date]=[field_c_date_value]The question mark and the equal sign are being escaped and are rendered as %3F and %3E, respectively. This doesn't work.
Anyone know how to get around this problem?
Much thanks,
Curt