Hello & assistance requested

Hello & assistance requested

Postby jchalo99 » Fri Jan 08, 2016 10:27 am

I am new to everything. I was a gamer. I am working on a new website for my volunteer fire department.

I am trying to give members access to a database. for inventory & calls & training etc.

I am starting on an inventory database.
It has many columns, Who/Where it is, What it is etc.
When inputting data using the Edit form. i want if they are assigning the gear to a person, a drop down to be hidden, but if they are assigning to an apparatus the field to show up.
Doesn't sound difficult. but when using the "Display Condition" it only changes when they save the record.

I was thinking to immediately save the record when the "Assigned to" drop down changes, but i think their should be an easier way.
Posts: 1
Joined: Fri Jan 08, 2016 10:21 am

Re: Hello & assistance requested

Postby admin » Mon Jan 11, 2016 2:54 pm


The Display Condition is PHP (and SQL) choosing , on the server side whether or not to show a field.

You can use jQuery to hide a field on the client side as things change. eg $('#the_dropdown').hide()

Capture.PNG (23.74 KiB) Viewed 3204 times

Site Admin
Posts: 3406
Joined: Mon Jun 15, 2009 9:53 am
nuBuilder Version: 4.5

Return to Custom Code