| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?xml version="1.0" encoding="utf-8"?>
- <mx:VBox
- xmlns:mx="http://www.adobe.com/2006/mxml"
- xmlns:helpers="com.imt.intimamedia.helpers.*"
- label="{resourceManager.getString('labels', 'contact')}"
- horizontalAlign="left" verticalAlign="top"
- verticalScrollPolicy="auto" horizontalScrollPolicy="off"
- creationComplete="initListeners()"
- paddingTop="10" paddingLeft="50" paddingRight="10">
-
- <mx:Script source="../../../scripts/general/home/contactView.as" />
- <mx:EmailValidator id="mailValidator" source="{mailTextInput}" property="text" trigger="{mailTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
- <mx:StringValidator id="lastNameValidator" source="{lastNameTextInput}" property="text" trigger="{lastNameTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
- <mx:StringValidator id="firstNameValidator" source="{firstNameTextInput}" property="text" trigger="{firstNameTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
- <!--mx:StringValidator id="phoneValidator" source="{phoneTextInput}" property="text" trigger="{phoneTextInput}" triggerEvent="focusOut" /-->
- <mx:StringValidator id="organizationValidator" source="{organizationTextInput}" property="text" trigger="{organizationTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
- <mx:StringValidator id="messageValidator" source="{formMessageTextInput}" property="text" trigger="{formMessageTextInput}" triggerEvent="focusOut" requiredFieldError="{resourceManager.getString('labels', 'required')}" />
-
- <mx:HBox width="100%" horizontalAlign="middle" horizontalScrollPolicy="off" verticalScrollPolicy="off">
- <mx:VBox width="30%" paddingTop="65" height="270" styleName="containerRedContent" horizontalScrollPolicy="off" verticalScrollPolicy="off">
- <mx:Label visible="false" includeInLayout="false" text="{resourceManager.getString( 'labels', 'title.businessService' )}" styleName="titleContactPanel" />
- <mx:Label visible="false" includeInLayout="false" text="{resourceManager.getString( 'labels', 'phone.businessService' )}" styleName="redText" />
- </mx:VBox>
- <mx:VBox id="formContact" paddingTop="5" label="{resourceManager.getString('labels', 'formContact')}" width="45%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
- <mx:Canvas styleName="containerRedCompact" height="475" width="100%">
- <mx:Image source="@Embed('images/general/leftTitle.png')" />
- <mx:Label text="{resourceManager.getString( 'labels', 'formContact' )}" styleName="titlePanel" hideEffect="Fade" showEffect="Fade" />
- <mx:VBox styleName="contactContainerRedContent" horizontalAlign="left" height="400" width="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
- <mx:FormItem required="true" label="{resourceManager.getString('labels', 'lastName')}" paddingTop="5" width="80%" labelWidth="140">
- <helpers:TextInputWithSkin id="lastNameTextInput" maxChars="49" tabIndex="1" width="70%" styleName="textInput" />
- </mx:FormItem>
- <mx:FormItem required="true" label="{resourceManager.getString('labels', 'firstName')}" paddingTop="5" width="80%" labelWidth="140">
- <helpers:TextInputWithSkin id="firstNameTextInput" maxChars="49" tabIndex="2" width="70%" styleName="textInput" />
- </mx:FormItem>
- <mx:FormItem required="true" label="{resourceManager.getString('labels', 'organization')}" paddingTop="5" width="80%" labelWidth="140">
- <helpers:TextInputWithSkin id="organizationTextInput" maxChars="49" tabIndex="3" width="70%" styleName="textInput" />
- </mx:FormItem>
- <mx:FormItem required="true" label="{resourceManager.getString('labels', 'email')}" paddingTop="5" labelWidth="140" width="80%">
- <helpers:TextInputWithSkin id="mailTextInput" maxChars="49" tabIndex="4" restrict="A-Z a-z\\0-9\\@\\.\\_\-\\" width="70%" styleName="textInput" />
- </mx:FormItem>
- <mx:FormItem required="false" label="{resourceManager.getString('labels', 'phone')}" paddingTop="5" width="80%" labelWidth="140">
- <helpers:TextInputWithSkin id="phoneTextInput" tabIndex="5" maxChars="14" width="70%" styleName="textInput" />
- </mx:FormItem>
- <mx:FormItem required="true" label="{resourceManager.getString('labels', 'formMessage')}" paddingTop="5" width="80%" labelWidth="140">
- <helpers:TextAreaWithSkin id="formMessageTextInput" maxChars="500" tabIndex="6" width="70%" height="150" styleName="textInput" />
- </mx:FormItem>
- <mx:VBox width="100%" paddingTop="20" horizontalAlign="center">
- <mx:Button id="sendButton" label="{resourceManager.getString('labels', 'sendForm')}" width="120" click="onPost(event)" buttonMode="true" useHandCursor="true"/>
- </mx:VBox>
- </mx:VBox>
- </mx:Canvas>
- </mx:VBox>
- </mx:HBox>
- </mx:VBox>
|