Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

🚀 IP Management MS Access application migrated to a modern, open source low-code platform for building applications in minutes - Jam.py ⚡

52 views
Skip to first unread message

Dean D. Babic

unread,
Jun 7, 2024, 3:55:21 AM6/7/24
to Jam.py Users Mailing List
Hi all, 

just installed a new app (v7 wip) on PA with above Task/Caption on builder.html.


The app might be used to track IP's, subnets, devices, etc.
Not finished tho, looking for suggestions.

This app is using epoch timestamp, hence on History, this is displayed with:
  Field modifieddate: new value: 1717746240

On the View, the on_field_get_html is used to display it correctly.
This demonstrates ie. the situation when some legacy app is
using epoch timestamp, and we are modernising it.

Enjoy!

Dean D. Babic

unread,
Jun 10, 2024, 4:33:04 AM6/10/24
to Jam.py Users Mailing List
Hi,
thanks for trying the App. Now I see the IP field was NOT masked properly.
So I resorted to this:
- using http://igorescobar.github.io/jQuery-Mask-Plugin/docs.html
 which is copied to static/js folder and index.html adjusted with:
        <script src="static/js/jquery.mask.js"></script>

On the form:
function on_edit_form_shown(item) {
     $('input.usedip').mask('099.099.099.099');
}

This is showing how to format input with JS (or use Jam mask).

D.

Reply all
Reply to author
Forward
0 new messages