How do I create multiple text boxes with the same info that will

G

gardenguru

How do I create multiple text boxes in a web page in Publisher that will
automatically update the data in all the text boxes when I change the data in
one text box
 
D

DavidF

You might be able to use the synchronized "personal information" text boxes
for this purpose (Business information in 2007). I used a temple to create a
multiple page site, grabbed the tag line text box from the first page,
pulled it down into the publication, and any changes I make to the text are
reflected in the tag line text boxes on the other pages. So, try insert >
personal information > tag line on each page, and use that text box. Of
course you can't then actually use the tag line in the banner or else where
if you are going to use it this way. I am pretty sure when you save the
file, the text you have put into the tag line will be saved and applied
universally. I don't know if you can add synchronization to plain text
boxes...

DavidF
 
R

Rob Giordano \(Crash\)

You may be able to use FP included content pages (you create one separate
page and include that content on other pages) by using the webot include
code in a Pub html snippet:

<!--webbot bot="Include" U-Include="nameofapageyouwanttoinclude.htm"
TAG="BODY" -->

Haven't worked out all the kinks yet, but it does work.


(talk about "pushing" it)

--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression





| You might be able to use the synchronized "personal information" text
boxes
| for this purpose (Business information in 2007). I used a temple to create
a
| multiple page site, grabbed the tag line text box from the first page,
| pulled it down into the publication, and any changes I make to the text
are
| reflected in the tag line text boxes on the other pages. So, try insert >
| personal information > tag line on each page, and use that text box. Of
| course you can't then actually use the tag line in the banner or else
where
| if you are going to use it this way. I am pretty sure when you save the
| file, the text you have put into the tag line will be saved and applied
| universally. I don't know if you can add synchronization to plain text
| boxes...
|
| DavidF
|
| | > How do I create multiple text boxes in a web page in Publisher that will
| > automatically update the data in all the text boxes when I change the
data
| > in
| > one text box
|
|
 
D

DavidF

Thanks, but is this dependent upon FPSE on the host? If the user uses FTP
uploading protocol, would this function be broken much the same as it breaks
HTTP uploading?

An alternative would be to use an I-Frame, which also works in a Publisher
web. However, both these methods import a whole .htm file/page, and I am not
sure that would substitute for the OP's request for synchronized text boxes.
Guess it depends on what they are trying to do...

I like "pushing it" a bit with Publisher pages. I think that the ability to
insert a code fragment allows the user to add a bit of dynamic functionality
to the static pages. At the same time, the limits of what you can do forces
you to KISS, which I think is a good thing for most people.

DavidF
 
R

Rob Giordano \(Crash\)

Yah Iframe would be same idea. I read sync'd text boxes to mean..same
content in each textbox which is exactly what an included page would be
(change content in one and the others follow suit)...Iframe too.

Didn't have time to type this all out...

From Outfront.net:

"6. Include Pages

In theory include pages can be used without extensions. The pages will be
included when your site is uploaded, so in that sense they do. However if
you make any changes to included pages you will also need to reupload all
the pages in which they are included before the changes will be made in
them, which sort of negates the benefits.

Fortunately there are a several alternatives.

a. Use Server Side Includes (SSI)

The syntax for SSI is simple:
<!--#include virtual="directory/page.htm" -->

Your server will need to be configured to use SSI and you may need to rename
your pages with an .shtml extension. Look in your hosts support pages for
more information.

b. Use PHP Includes

This is how a PHP include looks:
<? include("directory/page.htm") ?>

Again you must have server support for PHP and your pages will need a .php
or .phtml extension. PHP includes have the added advantage of allowing you
to include pages from other sites.

c. Use ASP Includes
The syntax is identical to SSI includes above:
<!--#include virtual="directory/page.inc" -->

It is usual in ASP to give includes pages the extension .inc. Again your
server must have support for ASP.

Points to Note
In all cases there are some differences when using these type include pages
compared to FP includes.
The included pages will not be visible on the final pages until they have
been published to a suitable server
Paths to included pages will not be updated automatically if you move your
pages around,
they must be edited manually
You can use simple text files with no <head></head> sections and no body
tags as your include pages "

So there's several ways you "should" be able to use includes within Pub
webs...in theory at least :)



--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression





| Thanks, but is this dependent upon FPSE on the host? If the user uses FTP
| uploading protocol, would this function be broken much the same as it
breaks
| HTTP uploading?
|
| An alternative would be to use an I-Frame, which also works in a Publisher
| web. However, both these methods import a whole .htm file/page, and I am
not
| sure that would substitute for the OP's request for synchronized text
boxes.
| Guess it depends on what they are trying to do...
|
| I like "pushing it" a bit with Publisher pages. I think that the ability
to
| insert a code fragment allows the user to add a bit of dynamic
functionality
| to the static pages. At the same time, the limits of what you can do
forces
| you to KISS, which I think is a good thing for most people.
|
| DavidF
|
| | > You may be able to use FP included content pages (you create one
separate
| > page and include that content on other pages) by using the webot include
| > code in a Pub html snippet:
| >
| > <!--webbot bot="Include" U-Include="nameofapageyouwanttoinclude.htm"
| > TAG="BODY" -->
| >
| > Haven't worked out all the kinks yet, but it does work.
| >
| >
| > (talk about "pushing" it)
| >
| > --
| > ~~~~~~~~~~~~~~~~~~
| > Rob Giordano
| > Microsoft MVP Expression
| >
| >
| >
| >
| >
| > | > | You might be able to use the synchronized "personal information" text
| > boxes
| > | for this purpose (Business information in 2007). I used a temple to
| > create
| > a
| > | multiple page site, grabbed the tag line text box from the first page,
| > | pulled it down into the publication, and any changes I make to the
text
| > are
| > | reflected in the tag line text boxes on the other pages. So, try
insert
| > >
| > | personal information > tag line on each page, and use that text box.
Of
| > | course you can't then actually use the tag line in the banner or else
| > where
| > | if you are going to use it this way. I am pretty sure when you save
the
| > | file, the text you have put into the tag line will be saved and
applied
| > | universally. I don't know if you can add synchronization to plain text
| > | boxes...
| > |
| > | DavidF
| > |
| > | | > | > How do I create multiple text boxes in a web page in Publisher that
| > will
| > | > automatically update the data in all the text boxes when I change
the
| > data
| > | > in
| > | > one text box
| > |
| > |
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top