Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How do I change the Submit button text?
Comment | File | Size | Author |
---|---|---|---|
#10 | webform_reference_field_yaml_override.png | 44.46 KB | thomas.frobieter |
#2 | Screen Shot 2017-06-20 at 11.42.35 AM.png | 92.61 KB | jrockowitz |
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #3
santhoshabraham CreditAttribution: santhoshabraham commentedGreat, Thank You!
Comment #5
michael630angelo CreditAttribution: michael630angelo commentedSearch. If we change the button text from “Submit” to “Search,” is there a way we can search for the name, for example, of a webform submission and then, edit/update its content?
It’s because I’d like to make a webform submission search and then edit/update its content, in an authenticated user perspective, not as an administrator.
Thanks so much for your help.
Comment #6
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedPlease post general support questions to https://drupal.stackexchange.com/questions/tagged/webforms
Comment #7
Vivek Panicker CreditAttribution: Vivek Panicker commentedHi!
I would like to know if there is any way to do this with the Webform UI module disabled?
Comment #8
jenlamptonI'm also wondering the same thing. Thanks!
Comment #9
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedTo customize the submit button's label outside the Webform UI. You can append the webform_actions element to the YAML source.
Comment #10
thomas.frobieterIf I do this in a Webform reference field (inside a Custom Block Type),
the form actions are no longer printed out.I've also tried just:
'#submit__label': 'Subscribe'
submit__label: 'Subscribe'
submit_label: 'Subscribe'
Same result :/
Comment #11
thomas.frobieterOh, sorry, my fault, it IS printed out, but the label stays the same.
Comment #12
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedThe screenshot from #10 shows the Default submission data (YAML) which is not the same as the form's YAML source data.
Comment #13
FiNeX CreditAttribution: FiNeX as a volunteer commented@thomas.frobieter: did you solve this issue in some way or do we need to implement custom code?
Comment #14
thomas.frobieter@FiNeX Sorry, I don't remember the result nor the affected project to have a look at :/
Comment #15
FiNeX CreditAttribution: FiNeX as a volunteer commented@thomas.frobieter: ok no problem. Thanks anyway :-)
Comment #16
whmedia CreditAttribution: whmedia commented@FiNeX: did you found a solution? .. Thanks!
Comment #17
FiNeX CreditAttribution: FiNeX as a volunteer commented@whmedia: not yet, I'll return to this task in the coming months.