Jump to content
  • 0

Passed parameter based on a condition


Question

I need to pass a parameter on the website link but with condition. For example if field1 = a then pass parameter name=[@fieldname] otherwise it will be just the link. I tried Case When statement and use the a href with the link but it is not working if it has a parameter included in the link. Do you have any other ideas for this guys?
 

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
9 hours ago, Batchini said:

I need to pass a parameter on the website link but with condition. For example if field1 = a then pass parameter name=[@fieldname] otherwise it will be just the link. I tried Case When statement and use the a href with the link but it is not working if it has a parameter included in the link. Do you have any other ideas for this guys?
 

https://howto.caspio.com/parameters/

 

That's all about passing parameters as well. Also, did you know that from the Localization, you can actually set the behavior of your DataPage? If there are no records found, you can create a script that gets you redirected to a link. That happens because you can create a script or html, not just texts on Localizations. 

Link to post
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.

Guest
Answer this question...

×   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.

Loading...
×
×
  • Create New...