Query String is a great way of passing parameters from one DataPage to another. However, in some cases, values may contain special characters or symbols that may cause issues with passing them to DataPages. This issue can be avoided by encoding the special characters using Caspio Calculated Field before using them in Query String.
This method requires one Calculated Field for each Data Source field.
- Replacing a special character:
- Replacing multiple special characters with cascading Replace function:
The values can be safely passed to your Query String after they are encoded. For example:
Since Caspio utilizes UTF-8 encoding on the DataPages, we can convert these special symbols to their UTF-8 counterparts. Below is the initial list of special characters that can cause issues when passing them to Query String:
To see the full list of special characters, visit w3schools.org.