Jump to content
  • 0

receiving parameter in Update form or Details page


ppbb123
 Share

Question

2 answers to this question

Recommended Posts

  • 0

Hi, Update form and Details page will display the value of the current record. The workaround is to create a Virtual field, you can receive the parameter in the Virtual field (Form element could be Hidden). Using the following code to pass the value from Virtual field to the real field after updating.

function f_pass(){

document.getElementById("FieldName").value = document.getElementById("cbParamVirtual1").value ;

}

document.getElementById("caspioform").onsubmit = f_pass;

Remember to change FieldName to the appropriate field name. :)

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

×
×
  • Create New...