activate field in function of another

This public forum is for user-to-user discussions of ASPMaker. Note that this is not support forum.

activate field in function of another

Postby tiberius » Thu Oct 26, 2017 5:15 pm

I have the following fields in a database

surname: nvarchar (20)
name: nvarchar (30)
vehicle: boolean
brand: nvarchar (30)
model: nvarchar (30)

When I am adding data to the database or I am editing I want the fields "brand" and "model" not to appear or data can not be entered in these two fields, and only in case the field "vehicle" (is required field) has the value "true" activate the data entry in the fields "brand" and "model"

Thank you
tiberius
 
Posts: 1
Joined: Thu Oct 26, 2017 5:06 pm

Re: activate field in function of another

Postby Webmaster » Sat Oct 28, 2017 9:36 am

You can use "Client side events" to set the field visible or not by jQuery, read Field Setup -> Edit Tag -> Client side events in the help file.
Webmaster
 
Posts: 10734
Joined: Fri Aug 06, 2004 5:59 pm


Return to General Discussion (ASPMaker)