Jump to content

Submit Button and Redirects AND iFrames

Recommended Posts

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.


/* Account NOT in System*/
WHEN [@cbParamVirtual13] = 1 THEN 

/* Account is NEW */
WHEN [@cbParamVirtual13] = 2 THEN 

/*  Account is ACTIVE  */
WHEN ([@cbParamVirtual13] = 3) OR ([@cbParamVirtual13] = 4) THEN  

/* Account Has Been SUSPENDED */
WHEN ([@cbParamVirtual13] = 101) OR ([@cbParamVirtual13] = 102) THEN 




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.


Link to comment
Share on other sites

  • 4 weeks later...

Hello @Lynda

On "Web Form Wizard - Configure Fields" page, you can add the following script:




Since it is an iframe,  "target="_top"" is blocked, but  "target="_blank"" should work and open the required URL in the new tab

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...