Skip to main content

Hi,

I am trying to create a button “Save Inprogress”, this button should disable the render conditions and validations
 
Is there any way to do this?

Thanks in Advance.

Hey Linga,

I’ve tried answering this in the other thread: https://community.skuid.com/t/i-want-to-create-a-quick-save-button

Do you require further assistance with this?

Janick


Hi Janick,

Sorry for the delayed response. 
The thing is when I click on Quick save button, page should be saved even though the user does not fill the required fields.

I tried to include below script and button actions on the quick save button, but its not updating the records

Actions: 
Action Type: Run Snippet: validateQuickSave
Action Type: Close all popups



var params = argumentst0],    $ = skuid.$;

var myModel = skuid.$M(‘MODEL NAME’);
var rows = myModel.getRows();
var dfd = $.Deferred();

$.each(rows, function(i, row) {
    if(row.Customer_Name__c === ’ ’ || row.Customer_Name__c !== ’ ')
    {
        myModel.updateRows();
    }    
    dfd.resolve();
});


I know something is missing or I am not using the right approach… but I definitely need help in resolving this issue.

Thank you so much for the follow up.


Reply