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

Enumerating subsets from an ArrayList

I have an ArrayList storing employee information (Name, employee score, and date hired for each employee) from a .dat file. I'm trying to loop through the ArrayList to put teams of employees together so that their collective score is over 20. I'm…
0
votes
1 answer

Custom directive that sets a custom directive attribute on the element

I'm using ui-mask from AngularJS-UI. I want to set the attribute dynamically depending on the HTML input type. This is how you normally use this directive:
0
votes
1 answer

RegularExpressionValidator not working with javascript OnKeyUp event

Here I have an asp:TextBox, a RegularExpressionValidator and a ValidatorCalloutExtender. My issue is: without the OnKeyUp event, it works fine, the TextBox is validated and becomes red when it's invalid. But when I add the event, it stops…
Lucas
  • 534
  • 1
  • 10
  • 29
0
votes
1 answer

Using the jQuery Mask Plugin with multiple formats

I am using the jQuery Mask Plugin and I have two formats I want to support but it's not working the way I want. My mask formats are: F9999 V9999 M9 and F9999 V99999 M999 I am using this as the mask F9999 V9999?9 M9?99 My…
0
votes
1 answer

Mask an ssl domain with a regular domain

So I have a server with an SSL certificate, in which I host a variety of scripts that interact with my CRM's API. https://myserverdomain.com/script1, https://myserverdomain.com/script2, etc... Each of these scripts would correspond to a different…
David Avellan
  • 385
  • 4
  • 24
0
votes
1 answer

How to cleanse 'emojis' from JSON file, before inputting into SQL

I'm taking text fields from a JSON file and putting them into a MySQL database. SQL does not care for the emoji code \xF0\x9F\x98\x81 for instance. It says 'incorrect string value' when attempting to insert this data into a row. I'm a bit out of my…
user45867
  • 887
  • 2
  • 17
  • 30
0
votes
1 answer

LWJGL using texture as alpha mask

I am creating a 2D game with lwjgl and slick-util. For a special feature in my game I wanted to be able to give textures a certain opacity. I have managed to figure this out but the next step is giving a Texture as a paramter which will give me the…
Vulcano
  • 155
  • 9
0
votes
1 answer

MS Access form field display format

We are working on an application using MS Acces 2003 and SQL Server 2005. We are saving a fields that contain a text data for example 002215.28 but we want to display it on the screen in a special format for example like this 00 22 15.28. To do so…
CREFLY
  • 19
  • 1
  • 3
0
votes
1 answer

Is it possible to determine if a URL is masking mine server side?

Is it possible to determine if the current request for a given site is actually from a domain setup to forward with masking? I've tried the following but they all return information about the 'actual'…
fordareh
  • 2,923
  • 2
  • 26
  • 39
0
votes
1 answer

Masking in OpenGL ES

reading #20 tutorial on Nehe and a question here about masking, I implemented masking using b/w image and opaque image, however the result is completely not what is expected (I'm using OpenGL ES 1 on iPhone, so can't use…
Alexander Voloshyn
  • 924
  • 2
  • 8
  • 21
0
votes
0 answers

Masking driver bits with C

I'm working on a driver, and I'm having trouble finding a way to manipulate the bits I want to on a digital register. The register has 20 bits (0-19) and I'm only concerned with writing over the last two (19,18). These bits are part of a hex…
IronMage
  • 41
  • 7
0
votes
1 answer

Informatica Persistent Data Masking

I am working on Informatica Persistent Data Masking tool and I have to mask repeatable values in different tables and schemas with same masking pattern. For example: if some name say sonal is repeating in different tables, I want to mask sonal in…
0
votes
2 answers

Parse 2 bytes in 3 parts

I have to parse a field, that have 2 bytes, and saves a datetime information. To get the datatime, this field has this structure: 5 bits for day , 4 bits for month , and 7 bits for year (total 16 bits) To get the day I am using : byte day =…
Nico812
  • 47
  • 5
0
votes
0 answers

Subdomain URL Masking

I have a wordpress site with an admin panel and I want to show the admin panel to public but within a subdomain. I do not want to show the url structure, however. What I want is : subdomain.domain.com to mask another URL and all it's…
user3332560
  • 1
  • 3
  • 4
0
votes
1 answer

Controlling users input for feet and inches

How can you prefill an input box with 0'00" Then as the user starts typing it prefills in those 0's? like 12'02". I want the left side of the " ' " to be able to reach 2000 and the right side of the " ' " to only be able to reach 11.
user4409149