I recently made some changes to our Contact Us for...
# suitecommerce
t
I recently made some changes to our Contact Us form on our website, they changes were to make certain fields mandatory based on a selection in the first drop down. I made these changes in our SBX environment and SBX Website, after the changes, if one of the required fields is missing data, a small pop up appears telling the customer they are missing required info. Once I thought I got it working in SBX, I literally copied the code for the Online form from SBX to Prod. The issue is, the small popup does not work and the customer can submit the form with the missing mandatory fields. Since the code is identical in SBX and Prod, I am at a lost as to why the popup works and the form is prevented from submitting in SBX, but not in Prod. I have looked at Extensions, SC Versions and everything seems fine. Can anyone point me in the correct directions or even have any ideas? Below is a screen shot of the popup.
c
That popup looks like it's the result of adding the
required
attribute to an input element. If that's correct, do you see the element on your prod form? Also, did you do this change using the CXM site?
t
The forms are identical in SBX and Prod, the code is identical in both SBX and Prod. Sorry, I do not know what you mean by the CXM site?
c
Identical in the browser, or in the File Cabinet?
I'm trying to remember the other name for the CXM site...
CXM = SMT (Site Management Tools)
t
The forms are templates in the Marketing Templates > Online Form Templates.
c
If they're served through SC or SCA, you might try clearing the site cache.
Commerce => Content Management => Cache Invalidation Requests
t
Yes, the form is on our website which is a SC website, I will try clearing the cache.
No luck on clearing the cache, I am still able to submit the form from our website to NetSuite even with fields that are required missing data. Like I said, what I am so confused on, is it works perfectly in our SBX but not in Prod!