Posts by Jvs Corrêa • 315 points
28 posts
-
1
votes1
answer73
viewsQ: Calculate price per minute
I need to calculate the price from a starting time, for example the first 30 minutes after the entry costs R$30, after this period each minute needs to add R$1.50: 30 minutes = R$30,00 Additional…
-
1
votes2
answers64
viewsQ: Clear only a part of the URL
I’m using a function to clear the URL, but I’d just like to clear a part of it. window.setTimeout(function() { window.history.replaceState(null, null, window.location.pathname); }, 5000); For…
javascriptasked Jvs Corrêa 315 -
0
votes2
answers131
viewsQ: Clear URL after Insert
I have a php Insert that redirects me to a page showing a success/error message through the url result, how can I update the url after the Alert script runs? For example the url is: php? msg=error I…
-
-2
votes2
answers82
viewsQ: How to turn multiple variables into one PHP
I have a form with 8 input fields that take the entered value, I pick them by the POST but only 1 of the 8 fields is filled by the user, and in the POST I’m passing the 8 values even having only 1…
-
3
votes2
answers101
viewsQ: Limit typed number
I have a field number where I need to type a value from 0 to 25, in case the user type a number above 25 he does not allow, I tried to use the max="25" but it only blocks if the person does not…
-
3
votes3
answers49
viewsQ: Validate form and send email
I have a code where I validate the blank fields, but I wanted to know how to do it so that when the fields are filled submit to the page send php. Form: <form method="post" action="send.php">…
-
1
votes2
answers60
viewsQ: Connection to database on Amazon
Good afternoon, I have a sqlserver database hosted on Amazon, and can’t perform the connection in php, there is some specific way to do this? I tried the connection this way: <?php $servername =…
-
0
votes1
answer30
viewsQ: Disable checkbox when selecting next
I have a problem related to hidden div that is presented when selecting the check, as I cannot use the radio button for a function that is being used, I need to run in the checkbox, but when…
-
0
votes0
answers30
viewsQ: Upload uploaded by ajax
I did the code in ajax to send information through the click method, but the file does not arrive in the email, only the other data, in the Console appears the array with file type, size, name,…
-
0
votes1
answer38
viewsQ: Sending a PHP form
I own a form where the fields name="" has different values between [ ] because of an API I’m using. I was wondering how I can get this value from input to send to an e-mail? <form id="msform"…
phpasked Jvs Corrêa 315 -
0
votes1
answer651
viewsQ: Send input file by Ajax
How do I send a file by email using Ajax? When I fill out the form, all data is sent minus the upload. By Php I can send everything right, the problem is when I run the ajax function, it does not…
-
1
votes1
answer110
viewsQ: Show div after jquery validation
I have a function that validates the empty fields, when completing all fields and clicking on the button I need to show the hidden div, how can I implement this function to validate and show the div…
-
1
votes1
answer132
viewsQ: Disable field by clicking the checkbox
How do I disable a field by clicking the checkbox option?
-
1
votes2
answers375
viewsQ: Show content according to Select
How do I make that when the user selects the drive, show the div of the contents according to the selected drive? It would be with jQuery? <div class="form-group"> <label>Selecione a…
-
0
votes1
answer222
viewsQ: Change button class after filling all fields
I have a button that needs to be enabled when the user finishes filling the fields, but it needs to be changed the class when it is enabled... when the button is disabled I would need that while the…
-
3
votes2
answers716
viewsQ: Dynamic ID with Jquery
I have a function that creates a span with id, but I need that id to be generated dynamically example id="span1" /id="span2", as I do this? $("#lista").append("<span id='span'><br> " +…
-
0
votes0
answers308
viewsQ: Download File jQuery
I have a function click on jQuery and wanted me to click on the button it download a PDF file, as I do this function? $('#download').click(function() { //seria aqui a função } <button…
-
1
votes2
answers47
viewsQ: Enable inputs as filling
How can I make each input field filled next appear in jQuery? Would thus, select drive after the user selects the party period, after choosing the day appear the last field to choose the party type…
-
2
votes2
answers4419
viewsQ: Validate fields with jQuery
I have a function in jQuery, that when the user clicks on the button next he fires an e-mail. When you click the button I need it to check the fields Name, Email and Telephone have been completed…
-
2
votes2
answers1130
viewsQ: Send PHP checkbox value
I can use the same name="" in two checkbox inputs to do a PHP validation? For example, I want to take the checkbox value checked and do a validation, but it’s not getting any value. <input…
phpasked Jvs Corrêa 315 -
-3
votes1
answer50
viewsQ: How to send an email without finalizing the form
I wanted to know if there’s any way I can fire an email without calling my form’s action, because it has 4 steps, and in the process from step 1 to step 2 I want to email the fields that have been…
-
0
votes1
answer99
viewsQ: Send information without finalizing the form (Submit)
I have a form in html and I need to fill the fields and click on the "Next" button to send the form by email without the person noticing, because the form continues in the next steps... <div…
-
0
votes2
answers64
viewsQ: Send e-mail without finalizing the form
I have an html form in step by step, that when I click on the "next" button I need to send the completed data by email but without finalizing the form, how can I do this, is in php?
-
-1
votes3
answers3847
viewsQ: Telephone Field Mask
How is it possible to make a mask in a phone input only to accept numbers and already enter the formatting (xx) xxxxx-xxxx
-
1
votes2
answers3104
viewsQ: How to enable a button after input is populated
I need to make a "next" button disabled while the user does not type inside the input
-
4
votes3
answers121
viewsQ: List value of checkbox items
How do I make list the checkbox values when the user select and when you are unselected the value does not appear in the list? <select class="form-control" id="list-lugar"> <option…
-
0
votes2
answers641
viewsQ: List and sum selected items
I need to list the value in (R$) inputs and select html, as if it were a shopping cart, but I need this list and total value to be presented in real time to the user to be sent the list by email...…
-
0
votes1
answer217
viewsQ: Sum and Subtract values with checkbox and select
Could someone give me a hand? I need to do a checkbox sum and subtraction and select with values and show the result as the fields are selected, someone could give me a path to follow?