[1.0] Field EmptyText
New Community Forums available at http://forums.ext.net
 

Coolite Forums

Welcome Guest ( Login | Register )
 
[1.0] Field EmptyText
Subscribe
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 3/10/2010 11:52:33 AM

Group: Coolite Premium Member & Early Adopter
Hello,

Would it be possible to create a SubmitEmpty on the field level (similar to the SubmitValue) which will not submit a field in a form if the value is equal to the EmptyText ?

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 3/10/2010 11:58:13 AM

Group: Coolite Premium Member & Early Adopter
Or if you just submit an empty value back to the server I would be happy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/5/2010 10:10:13 AM
Posts: 7,853,
Posted 3/11/2010 8:43:13 AM

Group: Core Development Team
Hi,

It is not so trivial because empty text is real field (input field tag) value
Can you clarify how do you submit values? Using FormPanel submit functionality?

3.2 version will have new flag

A new flag 'submitEmptyText' has been added for the form submit action. If false, the emptyText value will not be sent when a form is submitted. This currently defaults to true to maintain compatibility with previous releases. The xml-form example now uses this flag for demonstration purposes.

We will update ExtJS to new 3.2 version soon

--
Vladimir Shcheglov
Coolite Inc.
Development Team
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 3/11/2010 9:03:47 AM

Group: Coolite Premium Member & Early Adopter
Thanks for looking into this one vladsch. I can wait until this one is released with 3.2.

Cheers


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 3/11/2010 11:47:21 AM

Group: Core Development Team
The v1.0 project will be updated to ExtJS 3.2 right away. I think by Monday much of the new Components, functionality and properties will be incorporated.

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -5:00, Time now is 8:45pm