Jump to content
  • 0

Passing Parameters as POST instead of GET


Question

2 answers to this question

Recommended Posts

  • 0

 I have the below code inserted into an HTML Block.  The first line creates a link and passess the parameters to the new page.

 

However, it seems like caspio is not rendering the <form> and </form> and so clicking on the submit button it just refreshes the page.   Does anyone have any experience with embedding a form inside html block like this?

 

Ultimately i'm just trying to launch a new page and pass parameters securely.

 

<a href="1045_Report.php?CMPID=[@field:CMP_ID2]&LID=[@field:Codename]&GBL=[@field:GroupByLabel]"  target="_blank">RadioCheck</a>


<form name="btn1" id="btn1" action="/1045_Report.php" method="post">
  <input type="hidden"type="text" id="LID" name="LID" value="COUVA"><br>
  <input type="hidden" type="text" id="lname" name="lname" value="Doe"><br><br>
  <input type="submit" name="btn1" id="btn1"value="RadioCheck">
</form>

 

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