Account


Earned badges

Earned badges

Achievement: Latest Unlocked

Topic Started

Topics

Hi. I've got fields that I've set up like this:

I am testing the use of the JavaSDK in my local environment using my person sandbox API key.

Code:

.withValidation(FieldValidatorBuilder.regex("^\\d{2}/\\d{4}$").required().withErrorMessage("Please enter a valid retirement date (MM/YYYY)"))

Replies Created

Reply to:

0 votes

I've noticed you set this up on Heroku. Can you tell me if there is an add-on or other type of configuration I need to set up to get the listener working on Heroku?

 

**EDIT**

Disregard. I was using my registered domain instead of heroku's "myapp.heroku.com". Once I started using that, the service worked.


Reply to:

0 votes

Here is a package ID: 

397WTKkGP-tvZa-FrSwFTOLrfAQ=

You will see that it goes from "Zip Code" to "Employment End Date". We want it to go from "Zip Code" to "Phone Number" and so on. I'm sure it's a simple fix. Please let me know how to fix.

Thanks.


Reply to:

0 votes

It seems that the SDK only give a "required" validation for the first two questions. In your example, "What's your favorite sport" and "What instrument do you play" would require answers and "What city you lives" would not require an answer. Is there a workaround for this?


Subscriptions

Topics Replies Freshness Views Users
2 5 months 2 weeks ago 16

Hi. I've got fields that I've set up like this:

4 5 months 2 weeks ago 23

I am testing the use of the JavaSDK in my local environment using my person sandbox API key.

2 5 months 4 weeks ago 19

Code:

.withValidation(FieldValidatorBuilder.regex("^\\d{2}/\\d{4}$").required().withErrorMessage("Please enter a valid retirement date (MM/YYYY)"))

9 6 months 2 weeks ago 39
2 6 months 2 weeks ago 30

Code Share

This user has not submitted any code shares.