Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by Tyler

  1. @Vitalikssssss That is a brilliant approach. Thank you so much for the suggestion and I think it will work perfectly for my needs! I will implement and will post back If i have any difficulties. Out of curiosity though, is there a way to do this with a JS snippet? I would assume we can, but it wouldn't be as neat as what you suggested. Thanks again! Tyler
  2. @CoopperBackpack I do use the inline Add extensively in my App due to easy of workflow needs and visibility of data during entry. As I posted above, I was able to find a solution to the problem (forgot to post about that solution until now ), but now I have a different (but similar) problem that I need to find a solution for. I made a new post here about it and would appreciate any insight you may have into this. https://forums.caspio.com/topic/17111-date-entry-validationlimitation-in-tabular-report-inlineadd/ Thank you for your response earlier. Also
  3. Leaving this here for future members. I was able to get the Inline Insert (Add Records) to validate by using the following code. <script> var nameOfField = "InlineAddSplit_Percentage_To_Agent"; document.addEventListener('DOMSubtreeModified', function(){ if(document.getElementsByName(nameOfField)[0]) { document.getElementsByName(nameOfField)[0].addEventListener('change', function(){ var cash= document.getElementsByName(nameOfField)[0].value; if(isNaN(cash)) { alert("Y
  4. I am trying to add Javascript to validate/limit the acceptable date range for a tabular inline add. I have tried several suggestions from various forum posts, but cannot get it to work. I started with this code as a form of this does work in a different application (https://forums.caspio.com/topic/16261-validate-field-value-before-submit-in-tabular-search-report-both-table-and-details/). Please help. <script> var nameOfField = "InlineAddDate"; document.addEventListener('DOMSubtreeModified', function(){ if(document.getElementsByName(nameOfField)[0]) {
  5. I am trying to run the following JS to make sure the value in one field has been entered in decimal form, but I can't get it to work. I have tried multiple iterations/adaptions of suggestions I have found on the forums. Any help would be appreciated. Thank you! <script type="text/javascript"> document.addEventListener('BeforeFormSubmit', function () { event.preventDefault(); var a = document.getElementsByName("InsertRecordSplit_To_Agent"); if (a[0].value <=0 || a[0].value >1) { alert('Split to Agent value is not in the correct range. Please enter split percentage in decimal
  6. Thank you! I don't know why I was missing that....Just up way too late and not thinking straight I guess. Thank you again!
  7. In each of my application tables, I have added four fields for created timestamp, created by user ID, updated timestamp, updated by user ID. I am having trouble figuring out how to capture the "updated by user ID" field when I am editing a record from within a tabular datapage (both inline and details view editing). Any help at all would be appreciated!
  • Create New...