Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

187
Views
¿Cómo forzar que un formulario html acepte solo entradas con un valor mayor que ""?

mi formulario:

 <form action='assetSearch.php' method='GET'> <input type='text' name='city' value="NewYork"> <input type='text' name='street' value=""> <input type='submit' name='submitBtn'> </form>

después de enviar, mi URL se ve así:

 http://localhost/www/Self%20Projects/public/assetSearch.php?city=NewYork&street=

y así es como espero que mi url se vea así:

 http://localhost/www/Self%20Projects/public/assetSearch.php?city=NewYork

los campos de entrada no tienen que ser obligatorios. básicamente, simplemente no quiero obtener valores vacíos en la matriz _GET, y quiero que la URL se vea más limpia.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!