Questions tagged [masking]

Force user input to conform to given rules.

Input masking restricts inputs for a given UI element without actually performing validation. Instead of collecting and validating user input, the masking approach restricts the inputs that a user can make in the first place.

An example of this would be a text field that is set to accept telephone numbers from a given country: instead of collecting digits and letters, and then validating them against the format, an input-masked field will only allow digits to be input, and will only accept them in an order that forms a valid input.

When dealing with arrays / matrices 'masking' means to ignoring certain parts of the array an only use the unmasked elements for further calculations.

1153 questions
0
votes
1 answer

Readonly property not working in IE9 when masking is applied

Masked Phone number text field becomes editable even though its applied with readonly property. How to solve this issue. It happens only in IE9 browser. $("#stdphone").attr('readonly', true)
pnaga
  • 21
  • 1
  • 5
0
votes
1 answer

Can't get certain clip-paths to work

I know this is super simple, but I can't seem to get a simple ellipse masking to work in this example: http://jsfiddle.net/foomarks/m5272/3/ img { position: absolute; -webkit-clip-path: ellipse(200px,200px,50px,100px); } Anyone have any hints…
Marc P
  • 606
  • 1
  • 11
  • 26
0
votes
1 answer

Arithmetic to convert decimal to binary, masking

I am taking in two params, dwWidth and dwX%8. dwWidth is how many bits wide my number is and dwX%8 is where in the byte it starts. So, if I have dwWidth=3 and dwX%8=0, then I have 111X XXXX. ((Note: It may not be 1's, I'm just using it to…
0
votes
1 answer

i want to use a specific symbol masking in an html text field using jquery

I want to use a particular masking on a text field in which the symbol will be on the right of the field. Mostly we see in bootstrap, but i need it without bootstrap and using jquery. Although it is bit difficult to explain but i can attach an image…
Muhammad Atif Agha
  • 1,535
  • 3
  • 33
  • 74
0
votes
1 answer

Jquery validations stops working for an input when using masked plugin

Controller public class HomeController : Controller { public ActionResult Index() { TestModel model = new TestModel(); return View(model); } } Model public class TestModel { [Required(ErrorMessage="You have to put a…
Mike Cheel
  • 12,626
  • 10
  • 72
  • 101
0
votes
2 answers

sub-domain masks with htaccess

We have just created a Yammer Account and the link to our account is link this https://www.yammer.com/mydomain.org.uk/ I want to hide the word Yammer.com and mask it with the word social so the domain will look life this. social.mydomain.org.uk So…
0
votes
1 answer

Does masking with Snap.svg work in AngularJS?

I have tried the "Getting Started" tutorial on the Snap.svg website and also attempted duplicating the code found here http://codepen.io/rachsmith/pen/FzAGt But I just can't seem to get the SVG masking to work. Have other people had this issue? As…
Rob Watt
  • 29
  • 2
0
votes
0 answers

3D image masking android

I am developing an application on 3D image masking .For this i have different transparent images and placing them in an array .I have searched a lot and finally i haveused PorterDuffXfermode to achieve masking .But i can able to get only one masked…
jay
  • 61
  • 1
  • 1
  • 3
0
votes
3 answers

preserving whitespace when masking a String

I want to preserve the white space in the String while it is being masked. Below is the code I wrote for masking the string but it doesn't take into account that my some of my strings in my Arraylist have white space. for (int…
user3430741
  • 25
  • 1
  • 7
0
votes
1 answer

what's mean 'the use of this feature is restricted'?

I used the Xenserver 6.1 in my two servers. I want to use live-migration. But, they can't to join same resource pool . So, I use cpu-masking feature. However, it isn't working, too. My first server info is.. [server-1] cpu_count : 32 …
whdals0
  • 175
  • 1
  • 3
  • 21
0
votes
3 answers

working with bits and bytes in c

I've checked the questions that were already posted and couldn't quite find the solution to my problem... I'm making a console program that inputs 2 variables: 1 is a byte and the other is a number of the bit I need to get from that byte using only…
user3521388
  • 73
  • 1
  • 3
  • 6
0
votes
2 answers

Data Masking in SQL Server 2008

I'm trying to mask all other ID's when a specific ID is selected. But it will not run. This is what I have so far. This is my current code: USE [DB1] Declare IDCursor Cursor For Select ID, Year, Amount, RefreshDate From Table1 …
0
votes
1 answer

Mask Value in Form Data when using browser dev tools

For example i have this URL: ....st:8080/sample?cardNumber=1234567890 I need to hide the parameter on the URL so i changed the method from GET to POST. After changing it the parameters are no longer shown in the URL but when i viewed the response…
Pseudonymous
  • 625
  • 1
  • 5
  • 13
0
votes
2 answers

Masking in AngularJS

Is it possible to create a mask in angularJS that looks like this 02years 07months. And when the user clicks on the text box it should change to the following text 0207 Thanks a ton!
Kaarthik
  • 627
  • 2
  • 12
  • 32
0
votes
2 answers

Cutting out a rectangular area of a photo using an svg mask in html5

My goal is to cut out a rectangular area of a photo using an svg mask in html5. I have attempted to implement this using the code below and in this fiddle, to no avail. Can anyone tell me what I'm doing wrong? html:
Ben Pearce
  • 6,884
  • 18
  • 70
  • 127