Is it possible to differentiate between Create and Edit to apply different fieldinfo
Is it possible to differentiate between Create and Edit to apply different fieldinfo

Is it possible to differentiate between Create and Edit so that I can apply different fieldinfo while using the same form for both?
This question has an accepted answers - jump to answer
Answers
Sure thing!
mode()
can be used to determine what the current action is. However, it might be more useful to listen forinitCreate
andinitEdit
, and in the event handler for each, usefield().info()
to update the info for the field in question to be relevent for each action.Allan
That's lovely, Allan. Thank you so much.