Jump to content
  • 0

Disable Update Action On "single Record Update" Datapage


alanhoffman
 Share

Question

Hi there..

 

I have a "Single Record Update" data page that produces several lines in a report.

 

However, on occasion, the filters on the report produces "No Records". In this instance though, the Update button still operates and is causing a few minor issues when people press on "Update" despite there being nothing to update (yes, I've learnt a lot about users).

 

Is it possible to disable the Update function when there are no records in the report..

 

Thanks again..

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi Alan,

 

How are you? How's the weather in your city?

 

I think, you can edit your Localization and add the following code to the message:

<style>
#Mod0EditRecord {
display: none;
}
</style>

Then the button is should be hidden, if the message is displayed.

And the message should be displayed, if the message isn't displayed.

 

I'll be grateful, if you tell me if the code works.

Have a nice day!

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