Problem editing ReCaptcha field using Fieldtype.Recaptch.cshtml
I need to add custom code to the IFrame tag in the NoScript tag of the generated recaptcha (see the recaptcha source code generated on my form in the code snipped below) Accessibility software flags the IFrame tag as failing because there is no content between the tags. I want to put "Please complete the Captcha form" between the IFrame tags so I pulled up the fieldtype.Recaptcha.cshtml file expecting to see the IFrame tags so that I could make my update. Instead the code reads:
I am assuming the ReCaptchaHelper is creating the default reCaptcha code. How can I add the plain text "Please complete the Captcha form" between the IFrame tags it creates.
Code Snippet showing the generated reCaptcha code from Contour:
<label for="7e0a48f9-ffc1-4377-bd25-bb8ba2abd703" class="fieldLabel">Please enter the characters you see: </label><div><script type="text/javascript">
Problem editing ReCaptcha field using Fieldtype.Recaptch.cshtml
I need to add custom code to the IFrame tag in the NoScript tag of the generated recaptcha (see the recaptcha source code generated on my form in the code snipped below) Accessibility software flags the IFrame tag as failing because there is no content between the tags. I want to put "Please complete the Captcha form" between the IFrame tags so I pulled up the fieldtype.Recaptcha.cshtml file expecting to see the IFrame tags so that I could make my update. Instead the code reads:
Code from fieldtype.Recaptcha.cshtml:
@using Umbraco.Forms.Mvc.Helpers
@model Umbraco.Forms.Mvc.Models.FieldViewModel
@ReCaptchaHelper.ReCaptcha(Model.AdditionalSettings.FirstOrDefault(x => x.Key == "Theme").Value)
I am assuming the ReCaptchaHelper is creating the default reCaptcha code. How can I add the plain text "Please complete the Captcha form" between the IFrame tags it creates.
Code Snippet showing the generated reCaptcha code from Contour:
is working on a reply...