Allowing users to insert hyperlinks?

Allowing users to insert hyperlinks?

Post by QWRhbSBIYX » Fri, 19 Aug 2005 16:51:02


I would very much like my users to insert hyperlinks into the issues form i
have designed in the way of supporting documentation etc. I have enabled
everything on the 'open and save' tab in 'form options' but it still doesn't
seem to let them.

Anyone got any ideas?
 
 
 

Allowing users to insert hyperlinks?

Post by shei » Fri, 19 Aug 2005 21:33:21


Hi Adam,

Where will your users be entering the hyperlink? In a text box on the form?
In a text box in a Repeating Section/Table?

Thanks,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Hi Adam,
\par
\par Where will your users be entering the hyperlink? In a text box on the form? In a text box in a Repeating Section/Table?
\par
\par Thanks,
\par
\par Scott L. Heim
\par Microsoft Developer Support
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }

 
 
 

Allowing users to insert hyperlinks?

Post by QWRhbSBIYX » Fri, 19 Aug 2005 23:48:03

Hi Scott

A simple repeatnig text box up to 255 characters long, linked to an Access
DBase though so is that the problem?
 
 
 

Allowing users to insert hyperlinks?

Post by shei » Sat, 20 Aug 2005 04:42:37


Hi Adam,

Is the field in your Access database a "text" or "hyperlink" data type? If
it is a "hyperlink" data type then you will not be able to get the built-in
"submit" functionality...is this what you are seeing?

If the data type is Access is "text" then can you provide some additional
detail as to the problem you are experiencing?

Thanks Adam,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Hi Adam,
\par
\par Is the field in your Access database a "text" or "hyperlink" data type? If it is a "hyperlink" data type then you will not be able to get the built-in "submit" functionality...is this what you are seeing?
\par
\par If the data type is Access is "text" then can you provide some additional detail as to the problem you are experiencing?
\par
\par Thanks Adam,
\par
\par Scott L. Heim
\par Microsoft Developer Support
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
 
 
 

Allowing users to insert hyperlinks?

Post by QWRhbSBIYX » Tue, 23 Aug 2005 17:42:07

Hi Scott

Typing www.microsoft.com into a text box doesn't write it as a hyperlink but
as flat text, what i would like to enable, as stated previously, is for users
to 'link' in supporting documentation to their infopath form such that the
receiver can click the link to view the document much like at outlook email
type thing.

Thanks in advance.
 
 
 

Allowing users to insert hyperlinks?

Post by shei » Tue, 23 Aug 2005 21:02:53


Hi Adam,

I understand what you are trying to achieve...what I am unclear on is how
you are trying to implement it.

At any rate - as you have found, a text box will not provide the
functionality you desire. What you can do is place a "hyperlink" control
next to your text box that gets it values from the text in the text box.
You can then add conditional formatting to the text box that hides the
control if it is not blank.

Now the thing to keep in mind here is once a user adds an address, file
location, etc. to the text box control, the hyperlink control becomes
active and the text box is hidden. So if they need to update the address,
you will need a way to implement this as well.

If this does not provide the information you need, please let me know.

Best regards,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Hi Adam,
\par
\par I understand what you are trying to achieve...what I am unclear on is how you are trying to implement it.
\par
\par At any rate - as you have found, a text box will not provide the functionality you desire. What you can do is place a "hyperlink" control next to your text box that gets it values from the text in the text box. You can then add conditional formatting to the text box that hides the control if it is not blank.
\par
\par Now the thing to keep in mind here is once a user adds an address, file location, etc. to the text box control, the hyperlink control becomes active and the text box is hidden. So if they need to update the address, you will need a way to implement this as well.
\par
\par If this does not provide the information you need, please let me know.
\par
\par Best regards,
\par
\par Scott L. Heim
\par Microsoft Developer Support
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
 
 
 

Allowing users to insert hyperlinks?

Post by QWRhbSBIYX » Wed, 24 Aug 2005 00:52:06

Thanks Scott

I guess the hyperlink box will not display in the database though, correct?
 
 
 

Allowing users to insert hyperlinks?

Post by shei » Wed, 24 Aug 2005 01:44:44


Hi Adam,

Again - not sure I follow. The users will type the URL into the text box
and once the form data is submitted, this will be stored in the database.
The hyperlink control simply gets its information from the text box so that
users can click the link and open the site/document, etc.

I apologize if I am missing something obvious...

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Hi Adam,
\par
\par Again - not sure I follow. The users will type the URL into the text box and once the form data is submitted, this will be stored in the database. The hyperlink control simply gets its information from the text box so that users can click the link and open the site/document, etc.
\par
\par I apologize if I am missing something obvious...
\par
\par Scott L. Heim
\par Microsoft Developer Support
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }