PHP Feedback Form help!!!!

Ok I’ve just set up a form for an online reseller application.

1- My question is When trying to specify the mobile field, I have used 2 text fields - specifying the initial as 5 characters in length and the latter 6. Default for most mobile numbers e.g… 07984 365987

I have called them mobile and mobile1 respectively.

Once I receive the submitted form, it only shows the latter 6 digits, is there a way to combine these so the entire number is thus received, as this is pretty vital info my client needs.

2 - Is it at all possible to change the text field ‘value’ color in the ‘item output settings’ of the inspector pallete.

3 - Whilst here, I also tried using the option ‘one page for all errors’ which it did not like - in the fact it simply didn’t seem to work correctly?

Any suggestions as to why?

Thanks guys in advance


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Can we see this form online somewhere?

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sure the link is:

http://www.cmlmarketing.com/keconnect.php

I know of a way to get around this, but I’m intrigued to know if the questions I posed are possible?

Any feedback will be greatly appreciated

Worm


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Mr W said:

I have used 2 text fields - specifying the initial as 5 characters in length and the latter 6. Default for most mobile numbers e.g…. 07984 365987

I have called them mobile and mobile1 respectively.

Well on the page you linked to above there is only one text input called mobile with a max length of 12 - have you changed this since your OP?

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yeah, sorry I have as I needed a visual for the client, until I can find a solution to this I’ll have to make do with this style for now.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Well it is still is straightforward and you should be able to enter two text input fields into the same cell of your table as long as you name them differently. I would probably put a hyphen between them for the correct visual effect.

If you then want the subsequent email to join these numbers together it will require some hand tweaking of the form-go file that the action generates.

But yes … doable

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you then want the subsequent email to join these numbers together it will require some hand tweaking of the form-go file that the action generates.

But yes … doable

David

Cool thanks Dave!!

Does anyone know how to go in and change the code in order to achieve this, so that once the subsequent email is received the information reads:

name: etc
address:etc
etc
etc
MOBILE: 07984 322568

At present the form would only return the initial 5 digits 07984 so…

For now I have used 1 field for this allowing for up to 11 characters.

I’m sure its quite simple, isn’t it?

Thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I can’t see the code contents of your handler, only the final result.
But to concatenate two fields together, separated by a space, you
would do something like this:

$phone = $_POST['field_one'] . ' ' . $_POST['field_two'];

The “dot” operator is what is used to stitch two strings of text
together. So you would put a dot between the first field, then a
space (enclosed by quotes) and then another dot and the second field.
The $phone = at the beginning is the assignment – you could skip
that part and simply add the second field to the first and only
return the first:

$_POST['field_one'] .= ' ' . $_POST['field_two'];
unset($_POST['field_two']);

Walter

On Oct 9, 2008, at 10:09 AM, Mr worm wrote:

If you then want the subsequent email to join these numbers
together it will require some hand tweaking of the form-go file
that the action generates.

But yes … doable

David

Cool thanks Dave!!

Does anyone know how to go in and change the code in order to
achieve this, so that once the subsequent email is received the
information reads:

name: etc
address:etc
etc
etc
MOBILE: 07984 322568

At present the form would only return the initial 5 digits 07984
so…

For now I have used 1 field for this allowing for up to 11 characters.

http://www.cmlmarketing.com/keconnect.php

I’m sure its quite simple, isn’t it?

Thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options