Hi,I am trying to develop a AMP (Accelerated Mobile Page) form in AEM.
It is a rating form where the user rates and writes a review,I also need
to save this review in a database table.Please find the below code for
the same: .rating
{--star-size: 3;padding: 0;border: none;unicode-bidi: bidi-override;
direction: rtl;text-align: left;user-select: none;font-size:
3em;font-size: calc(var(--star-size) * 1em);cursor:
pointer;-webkit-tap-highlight-color:
rgba(0,0,0,0);-webkit-tap-highlight-color: transparent;margin-bottom:
1em;}.rating > label {display: inline-block;position: relative;width:
1.1em;width: calc(var(--star-size) / 3 * 1.1em);}.rating >
*:hover,.rating > *:hover ~ label,.rating:not(:hover) > input:checked ~
label {color: transparent;cursor: inherit;}.rating >
*:hover:before,.rating > *:hover ~ label:before,.rating:not(:hover) >
input:checked ~ label:before {content: "★";position: absolute;left:
0;color: gold;}.rating > input {position: relative;transform:
scale(3);transform: scale(var(--star-size));top: -0.5em;top:
calc(var(--star-size) / 6 * -1em);margin-left: -2.5em;margin-left:
calc(var(--star-size) / 6 * -5em);z-index: 2;opacity: 0;font-size:
initial;}form.amp-form-submit-error [submit-error] {color:
red;}☆☆☆☆☆Success! Thanks {{name}} for trying the
amp-form demo! Try to insert the word "error" as a name
input in the form to see how amp-form handles
errors.Error! Thanks {{name}} for trying the
amp-form demo with an error
response.But I am getting the
below error:javax.jcr.nod...