I am trying to create a prompt that
is either separated by hard slashes or slashes appear after specified
input range, all on a single line.
i want: M/D/Y: input/input/input
not: M:
D:
Y:
example:
Enter
the date M/D/Y: '12'/'12'/'1234'Ideal: the slash appears after
populating the specified range...(mm) if users enters two integers,
backslash appears(dd) if users enters two integers, backslash
appears(yyyy) user completes the range
or: the slashes are static but the input fields between are mutable, and cursor skips slashes.
so far, this seems to work, with the remaining issues being keeping the output on the same line rather than creating a newline.