Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
trycold #1
Form using validator
Hi,
I have a form in which I have one filed which is using the validator.
Basically what i want to do is for user to add data. Once he press submit I
want to send an alerty that it was successful and the I want to clear all the
fields basically initialize the form. My problem is once the alert is over and
all the fields are clear the field which is compulsory get a red box in there.
is ther someway i can avoid it. I am attaching th code here.
Thanks.
private function submit()
{
var temp = Validator.isValid(this, 'myFormModel.ffName' );
if ( temp)
{
var submitdata = new Object;
submitdata.all the fileds projectRO.add(submitdata);
alert('Added Successfully');
ffName.text = ""
ffPriority.selectedIndex = 0;
ffScore.value = 0;
ffManager.text = ""
ffStatus.selectedIndex = 0;
ffOverview.text = ""
ffRdays.value = 0;
ffStart1.text = ""
ffEnd1.text = ""
ffStart2.text = ""
ffEnd2.text = ""
}
}
trycold Guest
-
Form Validator Rollovers
Is there a way to have the rollover tips of a validator show by default when validation fails? Basically i want to eliminate the rollover so that... -
ANN: Released XServer Form Validator for PHP
Just released XServer Form Validator for DW MX and MX2004 (PHP MySQL server model only) A form validator which use server script instead of the... -
ANN: Released the XServer Form Validator for PHP
Just released XServer Form Validator for DW MX and MX2004 (PHP MySQL server model only) A form validator which use server script instead of the... -
Form validator help
I need a generic php Form Validator class that do: 1- display the form 2- validate the form 3- if the form is invalid, display the form filled... -
Validator
Hi, I have a little problem with me form validation. When i run my page on the "Localhost" everything work fine, but when i run the page on...



Reply With Quote

