Picture in browser enabled infopath form

N

Nihad Aliyev

Hi everybody.
I am designing some infopath forms and I need to add picture field to form
and make it read only. But infoapth browser enabled fields does not include
picturebox or any field like picturebox. Is there any way of doing that?
Thanks.
Nihad
 
A

Anuma(GGK Tech)

Hi,

If you want to show Picture as a read only field. Then insert picture in a
layout table.
1. Insert one layout table.
2. Click on the layout table.
3. Go to menu bar and select Insert-->Picture-->From file
4. Select your picture.

This will be displayed as read only in your form. I hope this will help you.
 
N

Nihad Aliyev

That is a good sample for non browser enabled infopath forms. But after
adding custom code given in the sample, I checked the form in design
checker, design checker alert me that form has some errors because browser
enabled form can not have custom code. So I need to find the way of
inserting picture to the form without a line of code. So code is not
solution for me. If you help me I would be very glad.

Thanks!
 
E

.-=] ExTrEmE [=-.

I am designing some infopath forms and I need to add picture field to form
and make it read only. But infoapth browser enabled fields does not
include picturebox or any field like picturebox. Is there any way of doing
that?

What you need is to apply a logo on the form or you need to submit the
picture with the form?
If you need a logo on the form you can try to manually edit the xsl.. You
can try to publish the picture in a common location, then manually edit the
xsl (save the form as source, or rename the form as zip and extract) to add
the image you need, then re-open manifest file in infopath and save it again
as infopath form (single file)..
I don't know if it work.. but you can try :)
 
N

Nihad Aliyev

That is exactly what I try:
I will publish my infopath form to sharepoint, and I will make a workflow
for that form. For example, when you approve my form(eg. permission
application) your signature(that is signature of you which had been scaned
before) will be added to the form. And your signature is an image. I will
take your image statically. I mean I will add your signature to the form
when I design the form. So Designed and uploaded form will have hidden
signature area(which is an image), when you approve the form, then your
signature will be seen in the form. So I need to insert an image to form:)
Not to xsl but xsn.
F1:)
.-=] ExTrEmE [=-. said:
I am designing some infopath forms and I need to add picture field to
form and make it read only. But infoapth browser enabled fields does not
include picturebox or any field like picturebox. Is there any way of
doing that?

What you need is to apply a logo on the form or you need to submit the
picture with the form?
If you need a logo on the form you can try to manually edit the xsl.. You
can try to publish the picture in a common location, then manually edit
the xsl (save the form as source, or rename the form as zip and extract)
to add the image you need, then re-open manifest file in infopath and save
it again as infopath form (single file)..
I don't know if it work.. but you can try :)
 

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