Jump to content
  • 0

Passing Data To Caspio Datapage/db Via Machforms Server



Hi I need some help. I am trying to add data to a table via a form that is already created with MachForms. They allow passing data to external websites via http post. I read the article on making this work with external forms but I can not make this work for me.


The article referenced using <form method post action to the caspio URL> and adding hidden input type to the AppKey for the datapage. I have tried placing this everywhere and added it on the MAchForms parameters as well. I attached a screen shot of the notifications settings that I can control to pass parameters and to where it lets me enter the URL for my caspio datapage.


Any suggestions?





Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Thanks for the reply!!


I tried this and it does not work. I have verified that the parameters being passed from the form match the fields in caspio. I just can not make machforms send the data to the caspio table... :(


I did add the html for auto-submitting within the datapage but not sure how that would work when the form is trying to submit data via a URL. I will try to add the code within the actual page where the form is sitting and see if that will help...


Thanks again! I hate being frustrated  :blink:

Link to comment
Share on other sites

  • 0

When you open a Caspio page and receiving parameter via link you should be able to use auto submit code. So let's say user will click on this link: http://domain.com?param1=value1&param2=value2


Caspio can receive [@param1] and [@param2]


Then you can use this code to hide and autosubmit the page:

<script type="text/javascript">
  if(document.getElementById("caspioform")) {
  document.getElementById("caspioform").style.display = 'none';
  setTimeout('document.forms["caspioform"].submit()',1000); } 

This code needs to go to a HTML Block below all elements so it should be the last element

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.

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.

  • Create New...