Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Hello & assistance requested

Post Reply
jchalo99
Posts: 1
Joined: Fri Jan 08, 2016 1:51 am

Hello & assistance requested

Unread post by jchalo99 »

Hi,
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.
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: Hello & assistance requested

Unread post by admin »

jchalo99,

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
Capture.PNG (23.74 KiB) Viewed 3739 times
Steven
Post Reply