Posts by Tiago Sabadini • 95 points
9 posts
-
0
votes1
answer58
viewsA: Input mask does not work in dynamic fields
This is Mr. André, blz? Let’s go in pieces...your code has some points that we can improve: You are using repeated Ids in the same document, so you really will have problems handling these. See…
jqueryanswered Tiago Sabadini 95 -
-1
votes1
answer44
viewsA: How do I keep copies of files in a Git repository?
Hello Silash35 all right? You can add the . gitignore file to the root of your project and insert into it the types of files that git should ignore. For example if you have a .exe that does not want…
gitanswered Tiago Sabadini 95 -
0
votes1
answer47
viewsA: Error while performing max(sum())
Good evening Vinicius all right? We can solve this in a simpler way but I also have an observation about the setup of your view: Be careful with the mixture of AND and OR. When using them together,…
-
1
votes1
answer169
viewsA: Keypress event does not work after $.get() request
You are creating new fields on the screen, but your javascript has already been loaded and it will not identify the new elements. Since I don’t know how your file is, follow what you can do.…
-
-2
votes2
answers325
viewsA: Add records from a field and display in PHP (values have R$ in front)
All right, Samuel? Come on! You can resolve this in your query and your code will get cleaner. Just add group by categoria before the order by that already solves. This code snippet creates a…
-
1
votes1
answer167
viewsA: Use Javascript to create multiple input with different ids automatically
Is this Marko blz? There is a very simple solution. Create the Names as an array in html. You rescue in PHP with the variable name $numeros as an array. If Ids are really needed, you can use the…
-
1
votes1
answer140
viewsA: Sum at time of INSERT with php
Whoa, all right? Come on! You said: I need to add these values and play them in the variable Valordebito and perform the INSERT grouped If you need to add up the values to only then perform the…
-
0
votes1
answer34
viewsA: Use str_replace substitur tag <br> for <p>
Note that for you to be able to do this type of substitution, the code returned in $item->contentfor example, it needs to be exactly <br><br> without any character between them. If it…
phpanswered Tiago Sabadini 95 -
1
votes1
answer58
viewsA: Data from a file. Json
Knowing the keys, try to access as an array. See below: leadData[i].custom_fields["[TS] A empresa em que você trabalha é"]; It is necessary to access this way because the keys are irregular (have…