Skip to content

Commit

Permalink
s/raw/alphanumeric (#32889)
Browse files Browse the repository at this point in the history
  • Loading branch information
caroqliu committed Feb 25, 2021
1 parent 56d2121 commit 8fbb104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/amp-inputmask/amp-inputmask.md
Expand Up @@ -197,7 +197,7 @@ Here, the `mask-output` output attribute is set to `alphanumeric`.
/>
```

When `mask-output` is set to `raw`, the form will submit the `input` value as-is, and the form will add a hidden input. The hidden input will have the alphanumeric characters from the original input. Its `name` will be the original input's name with `-unmasked` appended. For example, if the input contains `+1 (800) 123-4567`, the form will submit the following values:
When `mask-output` is set to `alphanumeric`, the form will submit the `input` value as-is, and the form will add a hidden input. The hidden input will have the alphanumeric characters from the original input. Its `name` will be the original input's name with `-unmasked` appended. For example, if the input contains `+1 (800) 123-4567`, the form will submit the following values:

```json
{
Expand Down

0 comments on commit 8fbb104

Please sign in to comment.