You are here

function send_rfd_query in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7

1 string reference to 'send_rfd_query'
Utilities::AddrfdButton in includes/Utilities.php

File

./miniorange_saml_licensing.inc, line 324
Contains Licensing information for miniOrange SAML Login Module.

Code

function send_rfd_query(&$form, $form_state) {
  $email = trim($form['customer_email']['#value']);
  $demo_plan = $form['demo_plan']['#value'];
  $description_doubt = trim($form['description_doubt']['#value']);
  $query = $demo_plan . ' ->' . $description_doubt;
  if (valid_email_address($email)) {
    Utilities::send_demo_query($email, $query, $description_doubt);
  }
  else {
    drupal_set_message('Please enter valid Email ID', 'error');
    return;
  }
}