Lynda Posted March 28, 2023 Report Share Posted March 28, 2023 This is something different. I use a Virtual Field (Virtual9) and a Calculated Value on this workflow. Virtual9 is hooked up to the Destination field on exit. CASE /* Account NOT in System*/ WHEN [@cbParamVirtual13] = 1 THEN 'https://www.mydietmadereal.com/[@app:sysRelease2]' /* Account is NEW */ WHEN [@cbParamVirtual13] = 2 THEN 'https://www.mydietmadereal.com/mdmr/AddProfile[@app:sysRelease2]' /* Account is ACTIVE */ WHEN ([@cbParamVirtual13] = 3) OR ([@cbParamVirtual13] = 4) THEN 'https://www.mydietmadereal.com/mdmr/MyDashboard[@app:sysRelease2]' /* Account Has Been SUSPENDED */ WHEN ([@cbParamVirtual13] = 101) OR ([@cbParamVirtual13] = 102) THEN 'https://www.mydietmadereal.com/contact-8/[@app:sysRelease2]' ELSE '' END THE PROBLEM When I deploy the data page, it works like a charm, EXCEPT because WIX (my Web host is iFrame based) will not let me open a URL link out of an embedded HTML piece of code and the new page opens in the existing data page container. In the past, I have opened new web pages using HTML (<a href="https://www.mydietmadereal.com/mdmr/RecipeDetails[@app:sysRelease]RecipeID=[@field:RecipeID]" target="_top">Get the Recipe</a>) by adding a target. Does anyone know how to add a "target="_top"" to the URL line so that Caspio will accept it? I have tried everything I can think of. Lynda Quote Link to comment Share on other sites More sharing options...
Volomeister Posted April 25, 2023 Report Share Posted April 25, 2023 Hello @Lynda On "Web Form Wizard - Configure Fields" page, you can add the following script: <script> window.open('[@cbParamVirtual9]', '_blank' ) </script> Since it is an iframe, "target="_top"" is blocked, but "target="_blank"" should work and open the required URL in the new tab Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.