sepiariver / recaptchav2

Google's ReCaptcha V2 + V3 for MODX CMS: https://sepiariver.com/modx/recaptchav2-supports-recaptchav3/
https://sepiariver.com/
GNU General Public License v2.0
21 stars 15 forks source link

Allow captioning of submit button #29

Closed jcdm closed 5 years ago

jcdm commented 6 years ago

Addition of a button_caption parameter which is passed through to caption the submit button generated by the invisible captcha.

sepiariver commented 5 years ago

Sorry @jcdm I updated the Extra for V3 compatibility and it now has conflicts with your PR :(

sepiariver commented 5 years ago

Hello @jcdm thank you so much for your contribution. In both this PR and #48 the idea is sound—pass properties to the TPL Chunk to facilitate customization. To extend that, I've merged the scriptProperties array to allow any arbitrary placeholders (other than the reserved ones) to be set. Would really appreciate your feedback and let me know if it works for you. Thanks!