Skip to content

Instantly share code, notes, and snippets.

@aqualungdesign
Created May 4, 2015 21:26
Show Gist options
  • Save aqualungdesign/9b8bcc63da2a4946435b to your computer and use it in GitHub Desktop.
Save aqualungdesign/9b8bcc63da2a4946435b to your computer and use it in GitHub Desktop.
completar o cartão de crédito com a câmera do iphone
CC number - Iphone CAM
Cartão -> cardNumber
Nome -> nameOnCard
Mes -> ccMonth
Ano -> ccYear
<form>
<label for="cardNumber">Cartão</label>
<input type="text" pattern="\d*" id="cardNumber" />
<br />
<label for="nameOnCard">Nome</label>
<input type="text" id="nameOnCard" />
<br />
<select id="ccMonth">
<option value="">Mês</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
<br />
<select id="ccYear">
<option value="">Ano</option>
<option value="2015">2015</option>
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
</select>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment