I’ve got a settings section, holding the information for an imap mailbox. Now, whenever this page get’s submitted I’d like to validate the settings by trying to connect to the imap mailbox.
If the connection was sucessfull, I’d like to modify the default “Settings saved” to “Settings saved and connection to mailbox sucessfull.” If the connection was not sucessfully, an error message should be displayed.
I was only able to find validation for single fields, but not for a settings settings – how would I do this with piklist?