All Questions
Tagged with modal-dialog forms
348
questions
0
votes
1
answer
43
views
Sveltekit reuse form as a modal within another form
I've got the following route:
- routes
- artists
- [slug]
- new
- +page.server.js
- +page.svelte
where new/+page.svelte is the following:
<script>
import ...
0
votes
1
answer
12
views
How to get data from a form into plugin?
I'm developing a plugin, it have a form into modal boostrap to the user puts data.
When I do click to save, it's return to the same page, and I need to get the info. It's look like...
<form>
<...
0
votes
2
answers
32
views
How to get the form data from the modal-component into the submithandler
I'm working on a VUE app. Part of the app is to show a table (team) with information from the backend (by axios / django rest_framework). This all works.
When I click "nieuwe categorie" the ...
0
votes
0
answers
24
views
How to embed a modal or popup in an HTML form
In my registration form, I'd like users to agree to the T&C without opening a new web page, so a modal (aka dialog or popup) would be appropriate.
But when I add the dialog to the middle of a form,...
0
votes
0
answers
137
views
Issue with content projection through ng-content in Angular
I created a reusable modal component for my Angular project, which consists of a modal.service.ts file which handles the creation of the modal component when initiated. The content of the modal is ...
0
votes
1
answer
51
views
How do i make the pop-up from the form appear behind the background-blur?
I made an alert pop-up that appears when the user input in the form is not valid.
I set the z index of the background blur to 10000 (highest in the whole program) but that automatic pop-up from the ...
0
votes
1
answer
44
views
Javascript - using form input value within a modal
I keep getting this error: Uncaught TypeError: Cannot set properties of null (setting 'innerHTML')
or: Uncaught TypeError: Cannot set properties of null (setting 'textContent')
When trying to change ...
0
votes
1
answer
64
views
How to close a popup modal when clicking outside of the modal while being able to arrow down radio buttons?
I am trying to add functionality to close my modal when a user clicks outside of it. This solution works
const googleMissingInfoModal = document.getElementById('recommended-changes-modal');
...
0
votes
0
answers
208
views
How can i display Popup Modal forms in Rails activeadmin?
Hi I've just started using Rails Admin and I need to open popup modal form on certain model. To make it simple I would like to have a link which once clicked opens a modal form. How do I achieve this? ...
0
votes
1
answer
322
views
Svelte: Invalidate a store
I'm building my own form management in Svelte and I use stores to display messages.
I have something like (this is Pug):
+if('$successMsg')
FormMsg(className='success-msg', msg!='{$successMsg}')
...
1
vote
0
answers
23
views
Aspnet Ajax how to make local refresh when form submit
I have i am use modal dialog in my cards index page. When i click any cards its post the clicked item id(its sipId) to my Detail action in controller, and controller view Detail.cshtml and opened via ...
0
votes
1
answer
151
views
Discord Modal not updating TextInput label after updating it (Python)
I've been learning how to write bots for past couple of days and got general idea, but for now I'm stuck with this problem:
class FormButtons(discord.ui.View):
def __init__(self):
super()....
0
votes
1
answer
31
views
Modal form checks errors but doesn't submit or submits but doesn't check errors
I'm learning Javascript online and I blocked on this validation modal form. Can anyone help?
So I have this form that I have to submit and I create a function to check inputs and it works and then ...
0
votes
1
answer
389
views
How do i distinguish between a normal button and the submit button when using react-hook-form?
Okay so i am creating a sign up Modal for a website. It is a 3-page form so i separated it into 3 different form components. So the aim is that on the first form page, I conditionally render a next ...
0
votes
1
answer
92
views
How to access form object before and after saving in django-bootstrap-modal-forms
I have following code in my view of adding a new Item. Some fields are filled via user some fields are filled in the background. If form is valid then user is redirected to a url with a parameter (...