Docs & Support

Learn about all the Formidable features and get support from our amazing customer success team.

Developer DocumentationFormidable HooksDisplay Data
frm_display_[field type]_value_custom

frm_display_[field type]_value_custom

Heads up! This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.

Adjust the standard value shown in the email, entries page, or views. The name of the hook will changed based on the type of field being displayed.

Usage

add_filter( 'frm_display_text_value_custom', 'adjust_text_value', 10, 2 );
function adjust_text_value( $value, $args ) {

Formidable Forms makes advanced site building simple. Launch forms, directories, dashboards, and custom WordPress apps faster than ever before.

Parameters

  • $value (string or array) - The value to be displayed
  • $args (array)
    • $args['field'] (object) - The field being displayed
    • $args['entry'] (object) - The entry that is being displayed

Examples

Format an email address

Switch a displayed email address to a mailto link.

add_filter( 'frm_display_email_value_custom', 'frm_email_val', 15, 2 );
function frm_email_val( $value, $atts ) {
  if ( $atts['field']->id == 500 ) { // Change 500 to the ID of your email field
    $value = '<a href="mailto:' .  $value . '">' . $value . '</a>'; //change the value here
  }
  return $value;
}
Was this article helpful? *

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

In this article

    We have a small, but amazing team of dedicated people who are committed to helping you achieve your goals and project requirements.


    Copyright © 2025 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.

    Complete your purchase
    Special offer unlocked.
    Get 55% OFF!
    Complete Purchase
    Join 400,000+ using Formidable Forms to create form-focused solutions fast. Get Formidable Forms