Developer forum

Forum » Templates » ecom cart v2 class submit

ecom cart v2 class submit

Regin Madsen
Reply
Hi,

Is there any documentation regarding what class names you CAN´T use in dynamicweb.

It seems like if youre adding class submit to the submit input field on the step where the customer need to accept terms, this check is kind a overridden and instead the customer is taken to the first step?!?

Am I the only one with that problem? And furthermore, why...oh why can this be a problem in the first place? Is Dynamicweb really coded in a way where it is important what classnames Im NOT using, instead of simply look at the input names?


Replies

 
Nicolai Høeg Pedersen
Reply
That sounds strange... The submit button needs a name attribute with the correct name (Name of next step) - but class should not interfere. Drop a link and we can have a look at it.
 
Regin Madsen
Reply
This post has been marked as an answer
Hi, just to follow up.

This has now been classified as a bug, which will be fixed for IE9 in Dynamicweb 8.

Its quite annoying that form submitting is using classnames for submitting purposes. A while ago a similar bug needed the submit value on the button to be OK - I think it was on the request password form, but not sure. So it seems to be a bad habbit of yours, which is making it a pain in the b*** to implement!

Votes for this answer: 0

 

You must be logged in to post in the forum