Archives: Snippets

  • Deprecation Report for Legacy Markup and Ready Classes

    Audits every form for legacy markup (markupVersion < 2) and deprecated CSS Ready Classes, then surfaces the findings in the admin: a compact "Deprecation" column on the form list and a dedicated "Deprecation" form settings tab with a full tabular

  • Image Choice Quantities

    Injects Number fields into matching Image Choice cards server-side so each image can collect a quantity without leaving the card layout. Supports multiple image-choice → quantity mappings per form. Configure a list of forms, each with one or more field

  • Generate Unique Submission ID in Hidden Field

    Generates a human-readable unique ID for each successful form submission and saves it to a designated Hidden field. Supports multiple forms and multiple hidden fields via a config array. Each ID uses a configurable prefix (including any separator) followed by

  • HTML Field Conditional Logic Popup

    Adds a Show as Popup checkbox to HTML fields in the form editor. When conditional logic shows a popup-enabled HTML field after user interaction, its content opens in an accessible modal instead of inline on the form.

  • User to Email Translation in Notification Routing

    Adds custom {user:name[@login1@login2]} and {user:id[@1@2]} merge tags that resolve to WordPress user email addresses in any notification field (to, from, reply-to, cc, bcc, and routing rules).

  • Block URLs in Text and Textarea Fields

    Rejects submissions containing URLs in text and textarea fields. Detects plain URLs (http://, https://, www.), HTML anchor tags, and Markdown-style links to reduce spam without requiring a CAPTCHA.

  • Convert Entry Date Created to Local Time in Webhook Request

    Converts the date_created field in outbound webhook requests from GMT to the site’s configured local time when the feed is sending all fields.

  • Use MemberPress Reset Password Link For {set_password_url} Merge Tag

    Replaces the User Registration {set_password_url} merge tag value with a MemberPress-generated password reset link, so notifications sent for newly registered users point them to the MemberPress reset flow instead of the default WordPress one.

  • Export Likert Numeric Score Instead of Label

    Replaces the exported value of Likert survey fields with their numeric score (as configured in the field’s survey scoring) rather than the selected choice label. Applies to entry exports (CSV) and any consumer of the gform_export_field_value filter.