Updated code example - supportedSubmitMethods