Formyoula Alert With Custom Buttons

This guide includes the basic Javascript examples of displaying Buttons in the Formyoula alert box. We can use the following event.

formyoula.event_trigger( 'app:alert:display', {
  title: 'Form Submission',
  message: "Hey! Thanks",
  dismissable: true,
  fadeOut: 0,
  center: true,
  type:'success',
} );

We can customize the properties like message, dismissable, fadeOut, center, and type according to the requirement.

Customizing the alert view to show two Buttons to open records selected in a lookup in a web browser or on the Salesforce1 app.

Show Alert on click of submit button.

Alert with Buttons to view records in Browser or Salesforce1 app.

image

We can use Bootstrap contents https://getbootstrap.com/docs/4.0/components/alerts/ to customize views. For any questions, please contact us - [email protected] or the Formyoula in-app chat 🙂