Skip navigation
Currently Being Moderated

Few Question about components - first project

Jan 5, 2013 1:19 PM

Tags: #data #php #flex #component #flex-4.6 #datagrid #4.5.1 #flex4.5 #flex4.6

hello everyone, this is my first Flash Builder php web based and i would like to know if any of these below is possible, if so how? And will it be able to pass the data over to the Database. I already generated a form from the database but i would like to change a few of the input text fields to a numbericstepper, combobox and DropDownList. 

1. Can i add a generating letter/number (A1002) field on a form which is submitted to a MySQL database when submitted?

2. Can i add a text input field that i can use to send a email from the data that was added to the MySQL Database?

For example after the form is added to database i want to send a copy of it to a email

 

The datefield works, but how do i get the numricstepper, combobox and droplist to work?

For example:

protected function button_clickHandler(event:MouseEvent):void

            {

                privatebookingService.getAllPrivatebooking();

                var privatebooking2:Privatebooking = new Privatebooking();

                privatebooking2.confirmationnumber = confirmationnumberTextInput.text;

                privatebooking2.bookingdate = bookingdateDateField2.selectedDate;  (DATE FIELD)

                privatebooking2.bookingtype = bookingtype.selectedItem; (suppose to be drop list but doesnt work)

                Alert.show("You have successfully added a new booking");

 

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points