Jump to content

JayDub

Members
  • Content Count

    9
  • Joined

  • Last visited

  • Days Won

    1

JayDub last won the day on September 23

JayDub had the most liked content!

1 Follower

About JayDub

  • Rank
    Newbie
  1. Hi @Vitalikssssss, I replaced error message 351 in my localization file for the form with: <div id="norecord"><h3>Please add a student to continue.</h3></div> I originally used the code higher in this thread in the window.onload event and it worked to hide the buttons when the form first loaded. But due to the Ajax functionality employed when records are deleted, it did not remove the buttons when all records were deleted. So at the suggestion of @Alison I changed the code to listen for the DataPageReady event of the specific form on my page but now it
  2. I've tried to replace my previous function that was called by window.onload with the code below. I've placed the code in my form header. The HideFooter element that it references (to hide) is in the form footer and is a span that contains two buttons, that I only want to show when there are records in the form. I'm sure I'm doing something wrong as the buttons show no matter whether there are records or not. Any help is appreciated! <script type="text/javascript"> document.addEventListener('DataPageReady', function (event) { if (event.detail.appKey == '--i put my form's app k
  3. Hi - I tried this method to hide a couple of buttons I had placed in the footer and it worked wonderfully if there were no records initially displayed in the DataForm. However, if a user adds a record (which then displays the footer with the buttons successfully), then deletes that record, the buttons in the footer still remain showing. I'm guessing this is because the page is not doing a full refresh so the onload event of the window is not being called again? Is there a different event that this function could be attached to so that it will fire if a user deletes all records as well? Thanks.
  4. Thanks @telly . I'm able to set a few properties, like the border width of the fields using the method you described, and the payment processor fields seem to pick it up. However, other properties, like the placeholder text color and field height it seems to ignore. The odd thing is, if I use the inspector in Firefox, it looks like it is using correct property value of 40px for the height. But when I hover over the field it is 50px in height, so all of the payment processor fields appear taller than my other fields on the form. The other odd thing is that the payment processor fields will pick
  5. Hi - I've found the basic payment processor styles under Form/Details/Fields/Payment Processors but as far as I can see, you can only make changes to a few things, like the font, etc. How do you control other aspects of the fields holding the payment information, such as the width, border size, etc? I ask because on my form, the payment fields do not take on the style settings that I have created for the other fields on the form. I'm sure there is a way to fix this, but I haven't been able to find it. Thanks!
  6. Hi - I'm trying to use the iMask framework and my DataPage is being hosted inside a WordPress page. The loading of the JavaScript library is failing with this message in the Chrome Console: Uncaught SyntaxError: Cannot use import statement outside a module and it references the appParameter holding the imask.js file. Anyone have thoughts on what may be causing that? Thanks in advance.
  7. I have a DataForm with a calculated field. In the calculated field, I would like to look up and Sum matching records in a View. I know that you can query a Table in a calculated field, and I have done this successfully. However, the value that I need is currently in a View. When I create the query in the calculated field using the name of a View, I get an Invalid Formula error. I am trying to use a View instead of a table because there is not a direct relationship between the current table the DataForm is based on and the Table the value I need to Sum is in. I have to relate both tables via a
×
×
  • Create New...