I’m a have a form in a file called SignUpForm.php, when it’s submitted, the page is redirected to the url http://localhost/MySite/Includes/SignUp.php?step=1, and in the file SignUp.php I have a 3 …
Tag: forms
how can i use only one file instead of 4 php files that are basically the same?
i basically have a simple porgram to count how many times a click a specific button and then send it to mysql, but for each button i have diferent tables and separated files. I would like to know if …
How to Add message to the @Assert?
I am trying to customize Symfony validator messages! * @UniqueEntity(fields={“email”}, message=”The Email is already used.”) The unique entity error message works perfectly fine and shows up like …
Laravel components with old() helper function
For my easy I have made a component which contains a dropdown in it. So that I can use it everywhere when I need it. This is the component
{{$title}}
Symfony 4 CollectionType Constraints – array of strings
I have a very simple array of strings being stored in a database and provided via an API. Using Symfony’s form types I’m adding validation for various bits of data. I’ve hit a wall with a …
html-php post form on same page – iframe issue
I am looking to create a simple html form that shows the results on the same page. I was originally looking for a way to replace the content of the page with the results of the form but I have then …
Select field Old value cannot be displayed in laravel
I’m having a user registration form with a select field, When ever I get an error on the form user redirected to the form and display the previously entered values I able to display old values for …
how to send multiple checkbox data with `|` delimeter using codeigniter form
I want to send multiple checkbox data using | delimiter in CodeIgniter form In my form, I use the checkbox to select multiple data: <form method="get" action="…
Distributing sequential array items as mixed
I have an ordered list from 1 to 15. I put these list items in a form and assigned a checkbox to each. An user can choose whatever he wishes from the items in this form. When the user fills in and …
how can i send a value to other page via POST without Input Tag in PHP
How can I send a value to another page via POST without Input Tag in PHP? I tried this way but also it didn’t work. Answer You can’t send form with ‘a href’. You can use button or input button and style it to look like a regular link (correct solution). Or you can use Javascript to han…