Developer Support »

My client wants certain fields to be on the same line in the return  (See more user questions)

Hi

> This is really coming around.... I put the same syntax into the table area
> and the column didn't size. But, I put it below the cell color instead of
> the start. Does that make a difference?

I'm not sure what you mean by this. Can you tell me, did the text wrap
correctly with just the table width set? Remember I gave you the width
setting first, 450 pixels. Did this work on its own BEFORE you then set the
left-column width?

In any event, if it looks how you want it to look in the setup you are
using, just go with it!

Sure you can remove the / from the date. It's only there because someone
sent me a screenshot of the output they wanted and there was a / separating
the date values!!

Locate these lines (near the bottom):

$_REQUEST["Trip Date"] =
$_REQUEST['departure_month']."/".$_REQUEST['departure_day']."/".$_REQUEST['departure_year'];

$_REQUEST["Return Trip Date"] =
$_REQUEST['return_month']."/".$_REQUEST['return_day']."/".$_REQUEST['return_year'];

(They are not right beside each other in the script, there's a line in
between)

Just change the "/" for a ",". Like so:

$_REQUEST["Trip Date"] =
$_REQUEST['departure_month'].",".$_REQUEST['departure_day'].",".$_REQUEST['departure_year'];

$_REQUEST["Return Trip Date"] =
$_REQUEST['return_month'].",".$_REQUEST['return_day'].",".$_REQUEST['return_year'];

Just a point. This script is custom to you now, I would make some backups
of it.

Any questions, just let me know. Appreciate if you can tell me if the 450
table width worked on its own.

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Thursday, August 07, 2008 5:52 PM
Subject: RE: FormToEmail-Pro

> Thank you....
>
> This is really coming around.... I put the same syntax into the table area
> and the column didn't size. But, I put it below the cell color instead of
> the start. Does that make a difference?
>
> I am attaching a screen print of the return. Only one more question... Can
> we remove the / from the date and time and go with commas instead?
>
>
> -----Original Message-----
> Sent: Wednesday, August 06, 2008 2:46 PM
> Subject: Re: FormToEmail-Pro
>
> Hi
>
> While we're on the subject. Is the table displaying correctly with the
> overall width set? i.e. are you still getting the scroll bar or is the
> text
>
> wrapping now?
>
> I don't think I have been asked for that before. Your client certainly
> knows how he likes his data presented.
>
> I have attached a script with that configuration in it. It's the same
> script I sent you earlier, you just need to put your email address in it.
> I
>
> haven't tested it but it should be ok.
>
> Any questions, just let me know.
>
> Best wishes.
>
> Charles Sweeney
> https://formtoemail.com
> The world's easiest feedback script!
>
> ----- Original Message -----
> Sent: Wednesday, August 06, 2008 6:49 PM
> Subject: RE: FormToEmail-Pro
>
>
>> Hey Charles....
>>
>> I want to control the left column width, and so I added this line to your
>> html markup: $table_left_column_width = "25%"; However, this isn't
>> working
>> in pixels or percentages... What would be the syntax to control the size
>> of
>> the left column?
>>
>>
>>
>> -----Original Message-----
>> Sent: Tuesday, August 05, 2008 5:59 PM
>> Subject: Re: FormToEmail-Pro
>>
>> Hi
>>
>> I have attached a new script for you that will (hopefully) achieve what
>> you
>> are after.
>>
>> I have already configured it to output in HTML so all you need to do for
>> now
>>
>> is add your email address to it.
>>
>> It shows the outward and return dates and times on one line each as
>> desired.
>>
>> I have also added this variable for the table width:
>>
>> $table_width = "450";
>>
>> It's in the table configuration options in the configuration section at
>> the
>> top of the script. I don't know if it will work for you and wrap the
>> text,
>> I wasn't able to test it in a system that showed the table contents
>> unwrapped as you were getting earlier. The value of 450 is just a stab
>> at
>> it. It's in pixels. You could put a percent value in there instead.
>>
>> There are also other configuration options for the table, colours, fonts
>> etc.
>>
>> I'm sure you will have a couple of questions...just let me know.
>>
>> Best wishes.
>>
>> Charles Sweeney
>> https://formtoemail.com
>> The world's easiest feedback script!
>>
>> ----- Original Message -----
>> Sent: Tuesday, August 05, 2008 7:03 PM
>> Subject: RE: FormToEmail-Pro
>>
>>
>>> Ok..first question....
>>>
>>>
>>>
>>> My client wants certain fields to be on the same line in the return,
>>> such
>>> as
>>> month, day, year, time in hr:mins. Is that possible...
>>>
>>>
>>>
>>> The form is located at www..com/est4.php and the results
>>> look
>>> like this:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Anyway shoring it up to look rather smartly?
>>
>>
>>
>