diff --git a/src/main/java/gwt/material/design/incubator/client/google/recaptcha/ReCaptcha.java b/src/main/java/gwt/material/design/incubator/client/google/recaptcha/ReCaptcha.java index 42e7d235c..3782de83d 100644 --- a/src/main/java/gwt/material/design/incubator/client/google/recaptcha/ReCaptcha.java +++ b/src/main/java/gwt/material/design/incubator/client/google/recaptcha/ReCaptcha.java @@ -152,4 +152,12 @@ public void setType(RecaptchaType type) { public RecaptchaType getType() { return type; } + + /** + * Will get the response + * @return + */ + public String getResponse() { + return $this().find("#g-recaptcha-response").val().toString(); + } }