Closed (fixed)
Project:
Hide Submit Button D8
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
9 Mar 2019 at 00:10 UTC
Updated:
18 Oct 2019 at 16:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
marioangulo commentedComment #3
marioangulo commentedUpdated method name that creates array of ids to be more specific to what it does.
Comment #4
snehalgaikwad commentedComment #5
snehalgaikwad commentedHere is updated patch with option to enable or disable hide submit button functionality for specific forms.
Comment #6
pratik_kamble@snehalgaikwad I was unable to apply the patch. Please use PHP_EOL to create the array of form ids. I think the current implementation of the logic to pass the current form id needs refactoring.
Comment #7
pratik_kambleComment #8
siddhant.bhosale commentedComment #9
siddhant.bhosale commentedFixed the mentioned issue.
Comment #10
tanmaykadam commentedComment #11
tanmaykadam commentedPlease add the configuration settings



/admin/config/content/hide-submit
Please add the form specific settings
Please save the node
Button will disappear.
Patch is working properly.
Comment #12
tanmaykadam commentedComment #13
tanmaykadam commentedComment #14
nehajyoti commentedFor #8 - Does this makes sense to change variables to hide_submit_form_ids & hide_submit_negate to keep consistency with all the existing variables?
Comment #15
siddhant.bhosale commentedComment #16
siddhant.bhosale commentedI have changed the variable names and uploading the patch for the same.
Comment #18
nehajyoti commentedComment #19
marioangulo commented