Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
SOLVED

need phone number box to disappear after phone number is entered correctly

Avatar

Level 5
 
1 Accepted Solution

Avatar

Correct answer by
Employee

Hi @islandgirl23 ,

if you make sure that the phone field has validation and produces a validation message when something is not right then you can do the following:

Kosta_Prokopiu1_0-1629270752958.png

this.errorText is the text which will be popping up as an error message. When it is empty the field is ok.

Kosta

View solution in original post

2 Replies

Avatar

Level 5

As per my knowledge, there is not OOTB feature which you are looking for. But you can achieve the same by writing custom frontend validator on that field.

Hope this helps! thank you

_Rashid 

Avatar

Correct answer by
Employee

Hi @islandgirl23 ,

if you make sure that the phone field has validation and produces a validation message when something is not right then you can do the following:

Kosta_Prokopiu1_0-1629270752958.png

this.errorText is the text which will be popping up as an error message. When it is empty the field is ok.

Kosta