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?

Use different settings for view and edit

torf

New member
Joined
Feb 12, 2024
Messages
2
Reaction score
0
Points
1
Location
Vienna
Hi,
I'm quite new to xCrud and absolutely impressed, but got stuck on a Task: I'd need my Client to access different fields in view and edit, maybe use different labels or callbacks per mode. So for Example:

if ($mode === 'view') {
$xcrud->do something
}

Is there some way to find out if user is actually in view edit or list mode?
 
Last edited:
Top Bottom