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

Making a folder on one domain look like another domain?

I'm sure this has been asked and answered, a link to the answer would be awesome as I can't find what I need and I'm getting confused and frustrated! I have a domain registered with GoDaddy: www.mybusiness.com I have hosting with BlueHost and the…
craftykate
  • 83
  • 1
  • 8
0
votes
0 answers

How can I be able to take a domain to be masked onto one domain with a whitelist check?

I need to be able to take a domain for example: http://study.example.com will be masked to http://maindomain.com?site=study.example.com But when customers view the page they will see http://study.example.com If they we're to navigate to somewhere…
Benjamin
  • 429
  • 4
  • 17
0
votes
2 answers

Using Oracle Regular Expression - Masking based on pattern

Cleaning up , With Oracle 11g PL/SQL, for below query, can I get the capture groups' positions (something like what Matcher.start() provides in java). `select regexp_replace('1234bankzone1234', '^..(.*)bank(zone).(.*)..$', '\2') from…
Paddy
  • 609
  • 7
  • 25
0
votes
2 answers

MaskedTextBox.Mask not working properly

I am using MaskedTextBox in my code to for a date field. When I am giving maskedTextBox1.Mask = "00/00/0000 00:00 AA" in code,on running the application in my machine it works fine and mask in the textbox appears as [_ _/_ _ _/____ __:__ _ _…
user1805377
  • 73
  • 1
  • 9
0
votes
1 answer

iOS UIImageView clip/mask image

Basically, I am making a view that has two images. Image one is shown in a right triangle that takes up the top left of the view, and image two takes the up the right triangle that takes up the bottom right. Imagine a square cut diagonally, a…
JP.
  • 544
  • 5
  • 20
0
votes
1 answer

Create iOS mask image on the fly

I got an image I want to mask on the fly. The mask is basically shaped like a part-circle and changes in volume from time to time. Therefor I need to create an in-memory image, draw the mask circle stuff to it and do the masking on the original…
user816328
0
votes
1 answer

URL masking in php?

I have a link which is like this: www.domain.com/index.php?var=string1&var2=string2 I want to mask the url to become something like: www.domain.com/index.php, or its best to be like this: www.domain.com I tried google, I found some methods: Using…
kanayaki
0
votes
1 answer

digitalBush jQuery Mask not working with asp.net mvc3 IE9

I am trying to add a SIN # mask of 999-999-999 on an input box which has other validation specified in the controller. However, for some reason it's not firing - when I load the page and click in the textbox, nothing happens other than the standard…
silvenwolf
  • 70
  • 2
  • 11
0
votes
1 answer

Android Bitmap masking

I have bitmap on which I am applying two masks. When I apply mask on the right side of bitmap, it works fine but after that when I apply mask on the bottom side of the same bitmap, I have an area on bitmap that reappear again due to remasking. I…
Khawar Raza
  • 15,870
  • 24
  • 70
  • 127
0
votes
1 answer

CSS SVG Mask for Firefox syntax issue

From the Mozilla Developer page, I am trying to recreate their SVG mask for CSS using the mask property. CSS: #canvasPreview { mask: url(images/masks/circle2.svg#circleMask); } HTML:
smulholland2
  • 1,143
  • 2
  • 14
  • 28
0
votes
1 answer

Regex replace any occurence of any digit or any character with desired characters

I need help sorting out a solution for a pattern generator. I have an application that uses exchange formats with different patterns like 00350-ABA-0NZ0:AXYA-11/11/2012 etc., that have numeric and alphanumeric data separated by '-','.',":" and '/'.…
srcKode
  • 53
  • 1
  • 1
  • 8
0
votes
2 answers

how to define an acceptable range of values using jquery mask plugin

How to define an acceptable range of values (0-9999)? if mask is defined as .mask('9999') acceptable values will be in range from 1000 to 9999 but I need values between 0 and 9999
dllhell
  • 1,987
  • 3
  • 34
  • 51
0
votes
1 answer

Mask sub-directory URL/Re-direct URL with .htaccess

Hi Stack Overflow community, I have a question regarding a web setup. My main website is in the root of my "public_html" directory. Within this directory, I have created a subfolder called "subsite". So the file address to this is:…
kaffolder
  • 381
  • 3
  • 10
  • 21
0
votes
1 answer

Masking URLs With PHP

Is there any way to mask URLs with PHP or something else? I want to use a custom domain with goo.gl, basically I want to be able to send someone to http://l.bearce.me/iS7tz and have them reidrect to http://goo.gl/iS7tz automatically. I swear I've…
JacobTheDev
  • 17,318
  • 25
  • 95
  • 158
0
votes
1 answer

Multiple site/url integration with same header that doesn't reload when clicking to other sites

I can't seem to wrap my head around this one, and if it can be done I'll be overjoyed. I'm building a website for a friend's film company, and he requested that there be a header on the top of each specific film site that links to each other film…
DillonB
  • 179
  • 1
  • 3
  • 12