PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Multi Select Output/Format In Notifications

  1. sulayman
    Member

    Hello. I want to change the format of the Multi select output (in notifications) from a comma to a "<br>" or just a blank. I know I could update the forms_model.php file, but I am thinking there is maybe a hook I can make use of to do this. Can someone please help me with this? I have searched the forums and could not find anything about this.

    Posted 11 years ago on Tuesday May 8, 2012 | Permalink
  2. sulayman
    Member

    Still haven't heard a response. Does anyone have an answer to this?

    Posted 11 years ago on Friday May 11, 2012 | Permalink
  3. David Peralty

    You could use the http://www.gravityhelp.com/documentation/page/Gform_pre_submission to grab the comma separated value and then some PHP to replace the commas with spaces or your line break HTML to accomplish what you want.

    This PHP might help you:
    http://php.net/manual/en/function.str-replace.php

    Posted 11 years ago on Friday May 11, 2012 | Permalink