{"id":164336,"date":"2022-11-05T11:44:05","date_gmt":"2022-11-05T11:44:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/gravity-hero\/"},"modified":"2025-12-02T21:40:30","modified_gmt":"2025-12-02T21:40:30","slug":"gf-hero","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/gf-hero\/","author":20675991,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.2","stable_tag":"1.1.2","tested":"6.9.4","requires":"5.1","requires_php":"7.0","requires_plugins":null,"header_name":"Date Filters, Date Picker & Unique IDs for Gravity Forms - Hero Add-On","header_author":"Toro Guapo","header_description":"Gravity Forms superpowers.","assets_banners_color":"","last_updated":"2025-12-02 21:40:30","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/toroguapo.com\/gf-hero\/","header_author_uri":"https:\/\/toroguapo.com\/","rating":5,"author_block_rating":0,"active_installs":60,"downloads":2608,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":{"1.0.0":{"tag":"1.0.0","author":"toroguapo","date":"2022-11-05 11:43:23"},"1.1.1":{"tag":"1.1.1","author":"toroguapo","date":"2025-07-23 10:36:20"},"1.1.2":{"tag":"1.1.2","author":"toroguapo","date":"2025-12-02 21:40:30"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2812627,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2812627,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.1","1.1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":2812621,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":2812621,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":2812621,"resolution":"3","location":"assets","locale":""},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":2812621,"resolution":"4","location":"assets","locale":""},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":2812621,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Custom date filters.","2":"Standard date filters.","3":"Date highlights and read only input.","4":"Time zones.","5":"Unique IDs."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[156285,251569,1655,251568,33077],"plugin_category":[],"plugin_contributors":[215287],"plugin_business_model":[],"class_list":["post-164336","plugin","type-plugin","status-publish","hentry","plugin_tags-date-picker","plugin_tags-disable-past-dates","plugin_tags-gravity-forms","plugin_tags-limit-dates","plugin_tags-unique-id","plugin_contributors-toroguapo","plugin_committers-toroguapo"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/gf-hero\/assets\/icon-128x128.png?rev=2812627","icon_2x":"https:\/\/ps.w.org\/gf-hero\/assets\/icon-256x256.png?rev=2812627","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/gf-hero\/assets\/screenshot-1.jpg?rev=2812621","caption":"Custom date filters."},{"src":"https:\/\/ps.w.org\/gf-hero\/assets\/screenshot-2.jpg?rev=2812621","caption":"Standard date filters."},{"src":"https:\/\/ps.w.org\/gf-hero\/assets\/screenshot-3.jpg?rev=2812621","caption":"Date highlights and read only input."},{"src":"https:\/\/ps.w.org\/gf-hero\/assets\/screenshot-4.jpg?rev=2812621","caption":"Time zones."},{"src":"https:\/\/ps.w.org\/gf-hero\/assets\/screenshot-5.jpg?rev=2812621","caption":"Unique IDs."}],"raw_content":"<!--section=description-->\n<p>Hero for <a href=\"https:\/\/www.gravityforms.com\">Gravity Forms<\/a> lets you disable weekends, past dates and holidays in the Gravity Forms date picker, highlight today's date, and make date inputs read-only - all without custom code. It also adds powerful date filters, time zone fixes, and unique \/ random ID generators for coupons, reference numbers and more.<\/p>\n\n<p>If you use the Gravity Forms Date field for bookings, appointments or event registrations, you\u2019ve probably needed to:<\/p>\n\n<ul>\n<li><strong>Disable weekends<\/strong> so customers can\u2019t choose Saturdays and Sundays.<\/li>\n<li><strong>Disable past dates<\/strong> so users can only select today or future dates.<\/li>\n<li><strong>Block holidays or blackout dates<\/strong> when your business is closed or fully booked.<\/li>\n<li><strong>Allow only specific weekdays<\/strong> (for example Monday\u2013Friday or weekends only).<\/li>\n<li><strong>Prevent manual typing<\/strong> in the date input so users must pick from the calendar.<\/li>\n<li><strong>Generate a unique ID<\/strong> for each Gravity Forms entry (reference codes, coupon codes, etc.).<\/li>\n<\/ul>\n\n<p>Hero for Gravity Forms gives you a visual, no-code way to control the Gravity Forms date picker and to generate unique IDs for entries, without writing or maintaining custom code in your theme.<\/p>\n\n<h3>Features<\/h3>\n\n<p>Hero Essential (this free version) includes core date filters, time zone tools, today highlight, read only date inputs and basic picker animations. Some advanced options are only available in Hero Standard and Hero Advanced. For a detailed breakdown, see the <a href=\"https:\/\/toroguapo.com\/gf-hero\/features\/\">full feature list<\/a>.<\/p>\n\n<h3>Date Filters for Gravity Forms<\/h3>\n\n<p>Use Hero\u2019s <strong>Gravity Forms date filters<\/strong> to control which dates are selectable in the Gravity Forms date picker:<\/p>\n\n<ul>\n<li>Disable <strong>past dates<\/strong> so users can\u2019t choose dates before today.<\/li>\n<li>Disable <strong>weekends<\/strong> (Saturday and Sunday) or any other weekdays you don\u2019t work.<\/li>\n<li>Block <strong>holidays, vacation days, blackout dates<\/strong> or fully booked days.<\/li>\n<li>Allow only a specific <strong>date range<\/strong> (minimum and maximum date).<\/li>\n<li>Combine rules to fine-tune availability for booking and appointment forms.<\/li>\n<\/ul>\n\n<p>These rules are configured directly on the Gravity Forms Date field \u2013 no custom JavaScript or PHP code required.<\/p>\n\n<h3>Time Zone aware \u201ctoday\u201d<\/h3>\n\n<p>When your site has visitors from different time zones, \u201ctoday\u201d is not the same moment for everyone. Hero\u2019s <strong>Time Zones<\/strong> feature helps you:<\/p>\n\n<ul>\n<li>Ensure <strong>today\u2019s date<\/strong> in the Gravity Forms date picker is correct for your chosen time zone.<\/li>\n<li>Avoid situations where it is already \u201ctomorrow\u201d for some users, but your form still allows \u201ctoday\u201d as selectable.<\/li>\n<li>Keep date limits (min\/max dates) consistent for global audiences.<\/li>\n<\/ul>\n\n<h3>Date picker highlights and animations<\/h3>\n\n<p>Make your date picker easier to use and nicer to look at:<\/p>\n\n<ul>\n<li><strong>Highlight today\u2019s date<\/strong> to give users a quick visual anchor.<\/li>\n<li>Choose <strong>open animations<\/strong> for the Gravity Forms date picker to match your site\u2019s style.<\/li>\n<\/ul>\n\n<h3>Read-only date inputs (no manual typing)<\/h3>\n\n<p>If you want to prevent invalid dates or incorrect formats, you can use Hero to make <strong>Gravity Forms date inputs read-only<\/strong>:<\/p>\n\n<ul>\n<li>Force users to select a date from the calendar instead of typing.<\/li>\n<li>Reduce errors from manually entered dates.<\/li>\n<li>Keep date formats consistent across all entries.<\/li>\n<\/ul>\n\n<h3>Unique IDs for Gravity Forms entries<\/h3>\n\n<p>Hero includes a flexible <strong>Unique ID<\/strong> generator for Gravity Forms. Use it when you need a value that is both <strong>random and unique<\/strong> per entry, such as:<\/p>\n\n<ul>\n<li>Coupon codes or voucher codes.<\/li>\n<li>Ticket IDs, booking references or registration IDs.<\/li>\n<li>Internal reference numbers.<\/li>\n<\/ul>\n\n<p>You can generate IDs with:<\/p>\n\n<ul>\n<li>Custom length and character sets.<\/li>\n<li>Optional prefixes and suffixes.<\/li>\n<li>Merge tag support so IDs can be used in confirmations, notifications and other fields.<\/li>\n<\/ul>\n\n<h3>Random IDs (when uniqueness is not required)<\/h3>\n\n<p>Sometimes you just need a <strong>random string<\/strong> for a field and it doesn\u2019t have to be globally unique. Hero\u2019s <strong>Random IDs<\/strong> feature lets you:<\/p>\n\n<ul>\n<li>Generate random character strings for passwords, promo codes or internal labels.<\/li>\n<li>Control the length and allowed characters.<\/li>\n<li>Use random values in any Gravity Forms field where you can use merge tags.<\/li>\n<\/ul>\n\n<h3>Typical use cases<\/h3>\n\n<p>Hero for Gravity Forms is ideal for:<\/p>\n\n<ul>\n<li><strong>Booking and appointment forms<\/strong> \u2013 hide weekends, past dates and holidays so users only book when you are open.<\/li>\n<li><strong>Event registration forms<\/strong> \u2013 allow only event days or block dates after a deadline.<\/li>\n<li><strong>Delivery \/ pickup date selectors<\/strong> \u2013 restrict dates to working days and exclude holidays.<\/li>\n<li><strong>Vacation request or leave forms<\/strong> \u2013 prevent selecting dates in the past and mark company holidays.<\/li>\n<li><strong>Online orders and applications<\/strong> \u2013 generate unique IDs, application numbers or ticket codes.<\/li>\n<li><strong>Any form using the Gravity Forms Date field<\/strong> where you need to restrict dates.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Since <a href=\"https:\/\/toroguapo.com\/gf-hero\/\">Hero<\/a> is an add-on to Gravity Forms, you need to have <a href=\"https:\/\/www.gravityforms.com\">Gravity Forms<\/a> installed and active in order to use Hero.<\/p>\n\n<p>Hero comes in three variants:<\/p>\n\n<ol>\n<li><p>Hero Essential, the plugin variant that includes essential functionality and can be downloaded for free.<\/p><\/li>\n<li><p>Hero Standard, which includes extra features not part of the Essential variant. You can download this variant after obtaining a license from https:\/\/toroguapo.com\/gf-hero\/pricing\/<\/p><\/li>\n<li><p>Hero Advanced, which adds more advanced functionality on top of what the Standard variant offers. See https:\/\/toroguapo.com\/gf-hero\/pricing\/ for more details on this variant as well.<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20disable%20weekends%20in%20the%20gravity%20forms%20date%20picker%3F'><h3>Can I disable weekends in the Gravity Forms date picker?<\/h3><\/dt>\n<dd><p>Yes. Hero lets you disable weekends (Saturday and Sunday) or any specific weekdays in the Gravity Forms Date field so users can only select valid working days.<\/p><\/dd>\n<dt id='can%20i%20disable%20past%20dates%20or%20set%20a%20minimum%20%2F%20maximum%20date%3F'><h3>Can I disable past dates or set a minimum \/ maximum date?<\/h3><\/dt>\n<dd><p>Yes. You can disable all past dates before today, or set custom minimum and maximum dates for the Gravity Forms date picker, for example to allow bookings only within a specific date range.<\/p><\/dd>\n<dt id='can%20i%20generate%20a%20unique%20id%20for%20each%20gravity%20forms%20entry%3F'><h3>Can I generate a unique ID for each Gravity Forms entry?<\/h3><\/dt>\n<dd><p>Yes. Hero includes a Unique ID generator that creates random, unique IDs for each Gravity Forms entry. You can use them for coupon codes, ticket IDs, reference numbers and more.<\/p><\/dd>\n<dt id='do%20i%20need%20to%20write%20any%20code%20or%20javascript%3F'><h3>Do I need to write any code or JavaScript?<\/h3><\/dt>\n<dd><p>No. All date rules and unique ID settings are configured visually in the Gravity Forms editor. Hero saves you from writing or maintaining custom code snippets for the Gravity Forms date picker.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Disable weekends, past dates and holidays in the Gravity Forms date picker, add date filters and unique IDs - without writing code.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/164336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=164336"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/toroguapo"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=164336"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=164336"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=164336"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=164336"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=164336"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=164336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}