Feature request - Dynamic Behaviors
I noticed that the behaviors menu for security assist won't recognize dynamically named form elements like name="discount_<?php echo $cnt; ?>". Since the elements id is passed to the function, there is no reason for the limitation.
I'd like to see it updated so the php does not have to be deleted and added back. The inserted onBlur code just needs to reference the same dynamic value like:
<input name="discount_<?php echo $cnt; ?>" type="text" id="discount_<?php echo $cnt; ?>" onBlur="WAValidateNM(document.form1.discount_<?php echo $cnt; ?>,'- Provide a percentage with no more than 1 digit after the decimal.',0,99,1,10,1,',.',document.form1.discount_<?php echo $cnt; ?>,0,true)" value="<?php echo $row_discounts['discount']; ?>" size="3" maxlength="3">
P.S. Is this where feature requests for this extension go?