Skip to content
Advertisement

Tag: forms

Pass GET Variable to Modal to use in Query

I am trying to build a budget lookup tool. I have form where someone enters an account#, fund#, and deptID#. When they hit search, it opens a modal and will display a table of the budget balances that match the entered fund, account, and deptID. I can get the modal to open but, I can’t seem to get the data

Why is my AJAX method sending form input to the URL?

Once a user submits their form, I want to use JQuery/AJAX to stop the page from redirecting/reloading. But what is happening, is the user data is refreshed and displayed in the URL – even though I am using the POST method! I have 2 forms on my landing.html page, but I’ll just give the coding for 1 of them: It

Dynamic embedded form with OneToOne relationship

I’m trying to create a form for an article with an addon (tender). The article is in one-to-one relationship with the addon and the addon can be disabled (null). If the checkbox with an addon is checked, the addon needs to be validated, then submitted together with the article. The issue I’m having is, I’m unable to set the addon

how to get data from another form

I have three forms which are homeUser.php, application.php, and payment.php. in homeUser.php I have this information with form details. So in form application.php, I can retrieve the id by using the code However, I want to use the numApplicant and location in the third form also. how should I call it in the third form? Answer Two options. 1: Store

how to pass form data to controller

I am not getting how to pass data to the controller to update data, below I have given code. // below is my jquery which I am using to pass form data to the controller. // below is my route // inside controller I am having a function called edit profile Answer Is your form method set to ‘POST’? If

My PHP not processing input from radio buttons

EDIT: Some more searching on the wide web led me to this… Later on, in my form, I disable these radio buttons to prevent users from changing their previous answers after some time… Is it possible that the PHP is not reading the diasabled buttons? How should I then prevent the change of radio button states AND still have readable

Advertisement