Depending fields

i, can you help me? How do I make a field dependent on another field in a form if the two fields are in different sections of the form?
6 Replies
Matthew
Matthew2w ago
What exactly do you mean by dependant? You could use Get or make the field live
awcodes
awcodes2w ago
Yea, get and set are your friends here, but the only place that would matter in this use case is if the sections are dependent on relationships.
kobosoft.dev
kobosoft.devOP2w ago
I think I found a solution by using $get('../../provider_id') which returns the supplier's ID. Using just $get('provider_id') I get null.
awcodes
awcodes2w ago
Yea, it uses the relative glob pattern.
kobosoft.dev
kobosoft.devOP2w ago
Yes, apparently! I just discovered Filament, I'm a newbie! It's really great! Thank you.

Did you find this page helpful?