All Questions

1
answer

Pattern does not allow accented character?

I have a form and I'm validating it as follows: <input type="text" name="assunto" tabindex="5" pattern="[a-zA-Z0-9. - , ]{5,}" required> But if you type some accented character (á, à, ã, ç) it does not validate, does it have any speci...
asked on 14.11.2014 / 16:30
2
answers

What is the best way, to change only the registration steps and not every page

I have a page where the user chooses to log in (if he has already registered) or does the registration, if he chooses to register by clicking on the cadastre-se button, he would like the element to go left and the first step of the regist...
asked on 14.12.2015 / 13:23
1
answer

What is the difference between the MySQL Trigger exception and MySQL Event?

I would like to create an Email trigger scheduler , if possible, without using cron , and would like to know if you can do this through MySQL >. Searching the Internet I've seen some examples of creating a non-cron event : CREATE...
asked on 14.12.2015 / 13:38
1
answer

Rollback in specific table Laravel 4

I am manipulating a MySQL database with Laravel 4. I want to know if there is any way to do a rollback on just one of the database tables. For example, my migration included the x, y, and z tables. I want to do a rollback only on the table and....
asked on 14.12.2015 / 12:57
2
answers

Changing Screens in Navigation Drawer

The Navigation Drawer had some changes, where it was used the onNavigationItemSelected(int position, long itemId) method and now comes with the method onNavigationItemSelected(MenuItem item) . I tried to implement the old temp...
asked on 01.12.2015 / 03:43
2
answers

How do I index my app on Google searches?

How can I make my app (Android) start appearing in Google searches? Edit: Look at these prints: Or     
asked on 10.12.2015 / 22:50
1
answer

Identify if the computer has a QR Code reader

The first step of registering my project has two layout options: one for who owns a QR code reader (web cam) and one for those who do not. I need to identify if the user's browser has access to the webcam for reading the QR Code, how can I do...
asked on 14.12.2015 / 16:43
1
answer

Minimum and maximum limit of a number in an input of type number

Hello, I would like to know how I can put a limit, a minimum and maximum number that can be typed in the field. For example, make the number entered in the field below can not be less than 0 and greater than 9. Note: Only integers from 0 to 9...
asked on 15.12.2015 / 17:52
3
answers

Keyup allow to contain only one point between the characters typed in input

Example output: 000.000000 1.000 99.9.99.999 // <- error não pode ter mais de 1 ponto Code: $('input').keyup(function(e){ $(this).val(function() { var val = this.value; return val.replace(/(\.)+/g, function(char, str)...
asked on 03.12.2015 / 00:24
3
answers

Multiple pages with a different id

I have several PHP pages, with different names of course. I wanted to have something like this home.php?id=0 , on the next page it has the name cliente.php wanted that when I have home open when clicking on cliente.php...
asked on 14.12.2015 / 13:38