Forums

Can I do this?

cousinjay 06 Sep, 2009
I need a line on my form to look like the line below:

I will attend the party and will bring xxx adult guests with me and xxx children

Where xxx are 3 digit numeric fields.

I've tried to do it with a multiholder but so far, no success. I really prefer to stay out of the html as long as I can. My experience with the tag language is quite limited.

***************************************************************************
I'm also playing with something else that I'd like to do:

I have a file upload button where the default file name is something like "no file entered". Next to that, I have a text area for a description, with the heading "Please enter a description for your file". Can that label be dynamic so that after a file is entered the description heading will change to "please enter a description for picture.jpg"
GreyHead 06 Sep, 2009
Hi cousinjay,

I don't thinkI understand the number of guests question - do you have values for xxx or are they input fields?

Both requests are probably possible with JavaScript but I've no good idea how.

Bob
cousinjay 07 Sep, 2009

Hi cousinjay,

I don't thinkI understand the number of guests question - do you have values for xxx or are they input fields?

Both requests are probably possible with JavaScript but I've no good idea how.

Bob


Yes, the xxx represents a number input field. I need to know how many adult guests and how many children guests will be attending.
GreyHead 07 Sep, 2009
Hi cousinjay,

I don't think tha tyou can consitently embed input fields inside a sentence like that (you cna try but I suspect that diffrente browsers handle the input tags differently. You can easily do
I will attend the party and will bring 
<input ... /> adult guests with me and 
<input ... /> xxx children

Bob
This topic is locked and no more replies can be posted.