Hi,
let me explain in detail.
I have one MXML... with overallRFP value as one field(this fied is not
required)
but if at all user is entering data, then he should enter only numeric
 fields.
Using restrict property for textinput...its not allowing me enter any
non-numeric data(that working fine) and hit the remote object and entering
in DB.

But when i m not entering any data...in that case also its should call
service and enter data in my DBtable with overallRFP value as null..

currenly when Im keeping this value empty...then on backend i m getting
sqlRecoverable excpetion... which is reflecting in flex.. as fault event..

ANy pointers on this will be helpful..

On Wed, Mar 10, 2010 at 8:28 AM, Fehmina Kanuga <
[email protected]> wrote:

> HI,
> i am getting ADDRFPDES as NULL
> and on backend which is MYsql i m getting sqlRecoverable exception...
>
>   On Wed, Mar 10, 2010 at 12:19 AM, FlexiSush <[email protected]>wrote:
>
>> Hi, can u plz elaborate what kind of exception u r getting??
>>
>> Regards,
>> http://flexphpworld.wordpress.com/
>>
>> On Mar 9, 2:34 pm, Fehmina Kanuga <[email protected]>
>> wrote:
>> > hi all,
>> > when i m not entering any data and hittting the remote object.... on
>> flex
>> > side i m getting exception...
>> > however if i m entering digits its working fine...
>> >
>> > On Tue, Mar 9, 2010 at 2:24 PM, Fehmina Kanuga <
>> [email protected]
>> >
>> > > wrote:
>> > > HI all,
>> > > thank you very much..
>> > > that worked for me..
>> >
>> > > But one more query...cant we have any alert...to guide user that we
>> need
>> > > only integer values...
>> >
>>  > >   On Mon, Mar 8, 2010 at 5:54 PM, FlexiSush <[email protected]>
>> wrote:
>> >
>> > >> hey no need to use any validator. just use restrict property of
>> > >> TextInput and set it as restrict="0-9"  Hope it works
>> >
>> > >> Regards,
>> > >>http://flexphpworld.wordpress.com/
>> >
>> > >> On Mar 8, 3:26 pm, Fehmina Kanuga <[email protected]>
>> > >> wrote:
>> > >>  > HI,
>> > >> > i have a scenario.
>> >
>> > >> > i have one field  say user id , This field is not mandatory.
>> > >> > However if at all user enters it.. it should be only numeric
>> fields..
>> >
>> > >> > how do i perform that validaton..?
>> > >> > i tried using
>> >
>> > >> > <mx:Script>
>> >
>> > >> >      import mx.controls.Alert;
>> >
>> > >> >  </mx:Script>
>> >
>> > >> > <mx:NumberValidator source="{Overallrfp}" property="text"
>> > >> > integerError="Enter Integer value"  domain="int"  required="false"
>> />
>> >
>> > >> > <mx:Label text="Overall RFP value in $: " width="145" height="18"
>> x="67"
>> > >> > y="56" fontSize="11"/>
>> >
>> > >> > <mx:TextInput x="225" y="58" height="18" width="120"
>> id="Overallrfp"/>
>> >
>> > >> > but  its not working...
>> >
>> > >> > if i m not entering any values then its thworing exception
>> >
>> > >>  --
>> > >> You received this message because you are subscribed to the Google
>> Groups
>> > >> "Flex India Community" group.
>> > >> To post to this group, send email to [email protected].
>> > >> To unsubscribe from this group, send email to
>> > >> [email protected]<flex_india%[email protected]>
>> <flex_india%[email protected]<flex_india%[email protected]>
>> >
>> > >> .
>> > >> For more options, visit this group at
>> > >>http://groups.google.com/group/flex_india?hl=en.
>>
>> --
>>  You received this message because you are subscribed to the Google
>> Groups "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to