Need help with a form PHP, Yii Framework, > < = numbers.
Basically, on the part that says "
array('couponPrice,main', 'safe'), I would like the number in the form to be either $0 or at least equal to $10 or greater. In the array just before that one, I figured out how to make the entered number equal to or greater than $0, but what if I want the number to either be equal to 0 or greater than or equal to another number? Does this make sense what I'm asking?
<?php
class MDealPriceForm extends MDealPrice
{
public $name;
public static…
Need help with a form PHP, Yii Framework, > < = numbers.
See original post by ElscottHavoc
Leave a Reply
You must be logged in to post a comment.