Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
luismeza101 #1
Datefield to send as a query string
Im new at flash and im still learning so if anyone can help me on my issue i
will totally appreciate it.
Ok i have created a Book engine form with two DateFIelds components. The first
component instance name is Arrive_c , the second component is Depart_c. I
refomatted the components so on the text field will looke like this:MM/DD/YYYY,
So this form uses the form Get to append the querystrings to the end of the link
example:
[url]https://Reservations.synxis.com/lbe/rez.aspx?Hotel=15339&chain=2478[/url]
after submitting will look like this:
[url]https://Reservations.synxis.com/lbe/rez.aspx?Hotel=15339&chain=2478&Arrive=3/31/[/url]
2008&Depart=4/3/2008&adult=1
So i have managed to do that using the textfield variables, but i want to do
this using the Datefield,
i formatted the datefield using this code on the first frame
example:
Arrive.dateFormatter = function(d:Date){
return (d.getMonth()+1)+"/ "+d.getDate()+"/ "+d.getFullYear();
};
Depart.dateFormatter = function(d:Date){
return (d.getMonth()+1)+"/ "+d.getDate()+"/ "+d.getFullYear();
};
then i tried to set some hidden variables to get the value from the Datefield
component
example:
var Arrive = Arrive_c.getValue();
var Depart = Depart_c.getValue();
So with this i get a link like this:
[url]https://Reservations.synxis.com/lbe/rez.aspx?Hotel=15339&chain=2478&Arrive=undef[/url]
ined&Depart=undefined&adult=1
I dont know how to solve since im not familiar with the components so if can
anyone help me on this i have spend a lot of time trying to figure it out but
cant, any suggestions???
luismeza101 Guest
-
how to send multiple checkboxes against a query toanother cfm
Hi, I am a new user....need some help. I have a query. I displayed different features for an acct#. Beside each feature, I want a checkbox type... -
huh can`t send compressed string ??????? with webservice
Hi , I have the following problem i made an app that sends a xml formatted string across a network through a webservice ( no i can`t use... -
Maintain query string and somehow auto refresh a pagewith that string intact
I have a drill down where on page one the user selects criteria to narrow down the search for a speicific group of employees(like all hired between... -
How to send string to a window??
Hi All, I want to send value of a variable (string of characters) from my perl program to an currently active window (in X Windows) with a... -
Using NOT LIKE in Query String????
OK, I know how to use to pull up all records that contains the keyword, but what about not containing the keyword? I've tried NOT LIKE but i get ...



Reply With Quote

