The AppGini Blog
A few tips and tricks to make your coding life a tiny bit better.

#JavaScript

Add a shareable 'permalink' to records in detail view

Display a link icon in the detail view of your data records, allowing users to share a direct link to that record.

Add a shareable 'permalink' to records in detail view

Hide the 'Add new' (+) button beside a lookup field

Hide the ‘Add new’ (+) button beside a lookup field in AppGini detail view via a simple JavaScript snippet.

Hide the 'Add new' (+) button beside a lookup field

Convert 'Go to page' dropdown to a textbox

Replace the ‘Go to page’ dropdown in AppGini with a textbox for easier navigation in large tables.

Convert 'Go to page' dropdown to a textbox

How many ways can you turn a field into a phone link in AppGini?

This post demonstrates several ways to turn a field into a phone link in AppGini, using hooks, PHP, JavaScript, and SQL.

How many ways can you turn a field into a phone link in AppGini?

Add a note to a specific child tab

You have a child tab under one of your AppGini app forms. You want to display some note or instructions inside that tab.

Add a note to a specific child tab

Replace 'No matches found' with a custom message

Replace the default ‘No matches found’ message with a custom HTML message in your AppGini app using javascript.

Replace 'No matches found' with a custom message

Hide specific fields from the detail view print preview

Hide specific fields from the detail view print preview via javascript.

Hide specific fields from the detail view print preview

Highlight rows with due date = today

Highlight rows in the table view where the due date is today in your AppGini app using JavaScript.

Highlight rows with due date = today

Prevent specific groups from directly accessing a table in AppGini

In this post, we’ll show how to prevent specific user groups from directly accessing a table in AppGini, while still allowing them to access it as a child table.

Prevent specific groups from directly accessing a table in AppGini

Displaying count of child records on the tab title

AppGini supports displaying a list of child records in the detail view of the parent record. We’ll show you how to display the count of these child records on the tab title via JavaScript.

Displaying count of child records on the tab title

Hiding the nicedit component from a page

AppGini uses nicedit Javascript component for displaying rich text areas, where users can enter formatted input. You might wish to hide/show the rich editor in an AppGini page, or in one of your custom pages. This can be done using JavaScript code.

Hiding the nicedit component from a page

How to allow numbers only in a field

If you have a numeric field, maybe a price, a score or some other field that should contain numbers only, you might wish to alert the user that only numbers are allowed before she saves the record. This article shows you how to do it in JavaScript.

How to allow numbers only in a field

Programmatically change the value of an image field in the detail view

This post explains how to programmatically change the value of an image field in the detail view of an AppGini application.

Programmatically change the value of an image field in the detail view

Creating an on/off switch using Bootstrap and jQuery

How to create a cool-looking on/off switch using Bootstrap 3 and jQuery.

Creating an on/off switch using Bootstrap and jQuery