Jump to content
  • 0

How to submit data from an HTML block on my datapage to my datatable


CoreyH

Question

Hey Everyone,

 

I'm new to using HTML but I've managed to create a table on my datapage. What I need to be able to do is display the data already in one of my datatables and also allow the user to change the value if need be. Ideally the user would then hit a submit button and it would send all of the info to the datatable and update the changed records. 

I have been able to display the values that are in the table using the source button. However, I have not been able to work out how to get the user to input their data and that be sent to the corresponding field in my datatable. 

 

Below is the general idea of what I currently have.

 

image.png.b0f3e22a04e0e77b7cf4ccc8a00a1b89.png

 

It displays as below but the update button that automatically gets added to the page does not do anything.

image.png.78bc0f7f7b8f700c1d333fdf8b66178b.png

Any help would be much appreciated. 

 

Thanks,

Corey

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @CoreyH,

It is possible to create such a layout without declaring table in HTML block.

I do not recommend using your approach because it will also need a cumbersome Javascript which would take a value from declared inputs and paste into Caspio inputs (fields).

You can use the following feature in order to tweak the layout:

1. "No Label" for a field;

2. "Continue Next Element on the same line";

3. HTML blocks for labels;

You will be able to configure the DP like this:
6MBD9Bu.png

Hope this helps.

Regards,

vitalikssssss

 

 

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.

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