Posts by Felipebros • 78 points
8 posts
-
0
votes2
answers233
viewsA: How to validate one of the 2 fields as required with bootstrap-Validator?
I got by doing it this way, I don’t know if it’s a gambiarra. $(document).ready(function () { $('#sentMessage').validator({ custom: { telefone: function ($el) { var campo_comparar =…
-
-4
votes2
answers233
viewsQ: How to validate one of the 2 fields as required with bootstrap-Validator?
I need one of the 2 fields to be filled (mandatory). I am using "bootstrap-Validator": " 0.11.9", I tried to do with the custom according to the example code, only that I would need to inform for…
-
1
votes2
answers50
viewsA: Strange error in For in Python
Explanation of how it is currently: a = [1, 4, 5] b = [] for i in range(0,len(a)): c = a[i+1] # primeiro 1, depois 2 e depois 3, você não tem a posição 3 no seu list a, você tem as posições 0, 1 e 2…
-
0
votes1
answer4871
viewsA: Iframe with connection refused
Some websites use X-Frame-Options, which is a response HTTP header that can be used to indicate whether or not a browser should be allowed to process a page embedded on another site. It’s also a way…
-
0
votes3
answers329
viewsA: Use of codeigniter memory
This memory overflow can be the automatic saving of the last query, you can use $this->db->save_queries = false; or change the config/database.php file to 'save_queries' => FALSE,…
-
3
votes4
answers23430
viewsA: How to treat accentuation in. bat files?
Just enter this code at the beginning of your . bat @CHCP 1252 >NUL
-
0
votes2
answers835
viewsA: How to make an auto ID increment relative to another field in Postgresql "Postgresql"?
I got you guys Based on this link and with a little improvement, follows below the final result -- tabela onde ficará guardado as sequências de cada loja tabela e coluna CREATE TABLE…
-
3
votes2
answers835
viewsQ: How to make an auto ID increment relative to another field in Postgresql "Postgresql"?
Personal it has been a long time since I look for a way to do this, what would be the correct way to make an auto increment that depends on another field as in the example below? id_empresa |…