HTML Form arguments to angular page - html

I have a static HTML page with a form on it asking for very basic information (Name, email).
This form will help pre-fill 2 fields of the registration process of my angular app.
the problem is that the URL that is being generated when submitting the form is
http://server/?name=xxx&email=xxx#yyy.com/#/account/create/infos
What my angular app is expecting is :
http://server/#/account/create/infos/?name=xxx&email=xxx#yyy.com
any idea how I can achieve that ?
thanks a lot

you can try setup your form to method post
<form method="post">...
Then in controller you get post-param and process it

Related

Unable to submit the form on laravel6

while submit the form pages using get method, does not send to the controller but I print the link on browsers to get the results, I used gates and policies on web routes, i used pagination of forms as below links, two pages contains
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_form_steps
Please use your form method POST request ,
like this :- form method="POST" action="{{ route('yourSubmitingRoute') }}"

How to save datas from custom form in joomla article

Hi I have created custom form in joomla article with html.When i click the submit button i need to validate the form and also to call the controller of the com_content.From the controller i need to save the form field datas to mysql database through model.How to do this.Please guide me.
<form id="slideshow-form" class="form-validate" method="post" name="adminForm">
Name
Your mobile number
Your email address
What is your city of residence?
for custom form it's better to use one of joomla form builder extensions like Chronoform

HTML form post response on same page

I developed a very simple portlet for Liferay which contains a form to submit a couple of parameters to an external Webservice. My problem is that when I press submit I get redirected to the URL of that webservice.
Is there a way to suppress the redirection and show the webservice response in the same portlet that i made the call from?
Many thanks in advance for your feedback this is much appreciated.
You have to use javascript (AJAX) for send data to the webservice and directly get the response without redirecting the user. Then with the data you received from javascript, you can display them on the page.
You can do this with Jquery and the function ajax().
Hope, I've helped you :)

submitting a form that doesn't has an action

I am trying to submit that form on the site from java. up till now i found the POST-DATA that is send using httpFox. but the problem that the form doesn't include an action that i could use. here is the link
http://tamarod.com/index.php?page=english
the data that is sent on submit is
Member_Name=&National_ID=&governerate_id=0&district_id=&Email=&Date_Of_Birth=&Submit=I+Accept
but i tried adding this line beside the url on the browser to try it but nothing happens..
I figured out the problem. I was missing SetDoInput() and SetDoOutput() in my HttpConnection. so i can POST and GET data.

Can we pass data from textbox to node js without form action submit?

Hi everyone I want to pass some data from text field as soon as html page loads to node js without any form action submit. Is it possible in node js. I am using only ejs writimg html codes no react and angular