Blank fields won't allow model to save

edited July 2019 in Problems
I have a skuid page with 7 editable fields for a user to potentially update. If a user deletes a number and leaves any of the editable fields blank, it will not save the model. It will look like it saved, but if you refresh the page the previous numbers reappear as if nothing was changed. However, if a user replaces a number with zero, then it will save.

This page is used monthly and we did not experience any issues until we installed v7.24. I remember that we were able to leave fields blank before. Any ideas why this is not allowing us to save the model?



  • Matt SonesMatt Sones 💎💎💎
    edited February 2017

    Do you have any errors in the javascript console?
    I'm assuming none of the fields are required in the ui or SFDC?
  • edited November 2015
    Hi Matt,

    I do not have any of these fields as required in SF or in the skuid UI.

    Here's the only thing that popped up in the console, but don't think it's related?
    Here's the text if it's hard to read:
    Failed to load resource: the server responded with a status of 404 (Not Found)

    I tried the above on another skuid detail page and got the same issue. When I deleted a number from a field and left it blank, the page does not recognize it as a change and will not allow me to save or cancel the model. So, I'm guessing the same thing is happening in my example above (I have a run multiple actions button for Save, which would allow me to click the button unlike the standard save/cancel).

    If I remember correctly, I used to be able to delete a field and save - it would recognize it as a change. Anyone else having this problem?
  • edited May 2016
    Chelsea...That error is always present.  It is unrelated.  Can you post your XML here?  We can try to replicate what you are seeing.
  • edited November 2015
    Hi Bill,

    I just created a simple Opportunity detail page with the amount and the description field to show you. It's returning the same issue and will be easier than the other examples as it has a lot of custom objects.

    If I delete the amount field, the save/cancel buttons do not allow me to save because it does not recognize a change. However, if I delete the description field, it does recognize the change...

    We've noticed the same issue on both Google Chrome and IE.
  • edited July 2019
    <skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" tabtooverride="Opportunity">
          <model id="Opportunity" limit="1" query="true" createrowifnonefound="false" sobject="Opportunity">
                <field id="Name"/>
                <field id="CreatedDate"/>
                <field id="Amount"/>
                <field id="Description"/>
                <condition type="param" enclosevalueinquotes="true" operator="=" field="Id" value="id"/>
          <pagetitle model="Opportunity" uniqueid="sk-3shIqH-72">
                <action type="delete"/>
                <action type="clone"/>
                <action type="share"/>
                <action type="savecancel" window="self"/>
          <basicfieldeditor showsavecancel="false" showheader="true" model="Opportunity" mode="read" uniqueid="sk-3shIqH-73">
                <column width="50%">
                      <section title="Basics" collapsible="no">
                            <field id="Name"/>
                            <field id="Amount"/>
                            <field id="Description"/>
                <column width="50%">
                      <section title="System Info">
                            <field id="CreatedDate"/>
          <styleitem type="background" bgtype="none"/>
  • edited May 2016
    Chelsea....Thanks for posting this page.  I was able to replicate what you are seeing.  It seems to affect number or currency fields.  I also tried clearing a number field in my sandbox on a different page.  I get the same issue.  The Save/Cancel does not 'light up' to allow me to save.  We need to get this in front of the Skuid team to fix.  I am going to send an email to [email protected] and reference this problem.
  • edited November 2015
    Great, thanks for your help!
  • edited May 2016
    Thanks for reporting the problem.  Everyone needs this fix.
  • edited December 2016
    Yes, we need it!
  • Zach McElrathZach McElrath Principal Software Engineer Chattanooga, TN 💎💎💎
    edited March 2017
    This has been addressed in Banzai Update 6 - Patch 1 (7.27.1), now available from Skuid releases page.
Sign In or Register to comment.