Jump to content
  • 0

Using Caspio Table Field Value Within Script Tags



Does anyone know if it's possible to access field values within script tags within a HTML Block?

For example is this possible within a HTML Block on a datapage?


The above is just a simple example. In reality I want to do a conditional check using IF..THEN..ENDIF.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi Allan,

Yes it is possible by calling the element.

If it is a Web Form the field Ids are InsertRecordFIELDNAME so you could retrieve the value by the following code:


If it is a Search and Report details page, the field Id is EditRecordFIELDNAME so you could retrieve the value by the following code:


You could also get more idea on how to use Java script with Caspio Bridge by looking at the library of Java Script solutions in the site at http://www.caspio.com/support/jssolution.asp


Bahar M.

Link to comment
Share on other sites

  • 0

Thanks Bahar. I'll check out the examples as well & bone-up on my javascript :)

On a separate topic (one that I posted earlier but got no response to) is there a way to populate a local recordset (ADO, XML, etc?) using web services?

I am completely new to WS but imagine that connecting to and retrieving a recordset is pretty universal. I mean there is probably a universal method that works with any caspio account, with a few minor changes. If so can I get a sample code snippet?

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