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?
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.
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:
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: