Replies: 3 comments 1 reply
-
I am wondering how to get this done as well. I was just using vanilla js to try and set the page that the form was submitted on with the script below. I could see the value getting set but it never came through.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Shoot, I think the answer is here: https://peak.1902.studio/features/forms.html#submit-additional-data |
Beta Was this translation helpful? Give feedback.
0 replies
-
Well, I tried adding x-init for hidden field but now it gives me "Uncaught TypeError: form.validate is not a function" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a alpinejs w/Precognition form inside a modal window with a text field say
color
. I am able to set its value by the help ofjQuery
by doing something like$('[name="color"]').val(colorNameValue);
.For some reason, the
form
is not picking the value... and postsnull
everytime the form is submitting. I am not able to figure out why...Beta Was this translation helpful? Give feedback.
All reactions