advanced form
Hey. I have a form in which the scenario is like.
The user fills the total premium. Which is a combination of net premium plus gst
So I want like
If he fills the total premium in a text field then the net premium and GST will be separated in their respective fields.
Suppose the total premium is 100 then the net premium is total premium - gst
GST is 18%
1 Reply
Something like this might help https://filamentphp.com/docs/3.x/forms/advanced#injecting-the-state-of-another-field
There are other example in that page that you can use, depending on what you're trying to do