Jump to content
  • 0

Passing parameters & Dynamically Add Options to Dropdowns


Question

It was child's play to replicate this: http://howto.caspio.com/datapages/form- ... listboxes/

However, I would like to pass a parameter to the popup, and this is causing me much more problems.

To be more specific I would like to open the popup from the details page of a report, and pass a parameter from the details page to the popup. The parameter is hidden, or display only, on the details page.

I guess that I need some kind of javascript code, but I'm terrible with javascript.

I would be really gratefull if somebody could help me out.

Thanks!

/Bjorn

Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

As I understand you would like to pass a field value to the pop up window. If that is the case you can pass the value through the link of the pop up page. For instance:

http:// URL OF POP UP PAGE?paramName=[@field:FieldName]

You can select "[@field:FieldName]" from the picker on the bottom right corner of the HTML block.

Here is the tutorial about passing parameters though links: http://howto.caspio.com/parameters/passing-parameters-using-a-query-string.html

Cheers :!: :!: :!:

Link to post
Share on other sites
  • 0

The problem with this is the parameter then displays for all the world to see in the URL. I have the same issue/problem, and need to transfer the parameter silently to the popup. I'd like to either (1) use Caspio bridge to pass the parameter, or (2) encrypt the parameter in the URL. Any help is appreciated.

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