What's new

Welcome to xCrud Community - Data Management and extended PHP CRUD

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Limit to List

k439

New member
Joined
Dec 9, 2021
Messages
10
Reaction score
0
Points
1
Location
Texas
On add or edit can you have a dropdown that limits what can be entered in a field and can the choices be limited to values from a table instead of being hard coded?
Solved: I used a relation and in the lookup table used 2 columns (ref1 and ref2) with the same data in them. The statement is
$xcrud->relation('refrigerant','refrigerants','ref1', 'ref2');
 
Last edited:
Top Bottom