Jump to content

This topic is 7092 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have an IWP database that has varying levels of access. Most users access is Read-Only, which up to this point has worked out really well. But I have hit a snag since I added a text box with a vertical scroll bar included. The users with read-only access are not able to access the scroll bar once the db is published via IWP. If you click on the text box, the scroll bar should appear if the text extends past the bottom of the box. It works fine until I publish it.

For the pages that aren't read-only everything works fine, even vertical scroll bars.

Any ideas?

Posted

well one way to do it is to mess with the actual feild settings and setting the feild to auto enter data...but specify no data to be entered into the feild then check prohibit any modification to this field.....if you do that they can enter the field....hilight data in the feild and use the scroll bar....but the down fall is that it will apply to everyone despite privledges so if you go that route you have to set up a script to input data into the field....i have one like that were a dialog box comes up and they type what they want to say then it puts it in the "locked by validation" field...but then it become read only...for everyone

Posted

The reason for this is because IWP uses the web browser's technology. In the case of a read-only field, the only way to do it on the web (easily) is for FileMaker to make it static text. So the scroll bar won't work.

For scroll bars to show, the record must be opened (editing allowed) so the static text becomes a text box (which in a web browser allows editing). This can be a PITA...

Posted

The reason for this is because IWP uses the web browser's technology. In the case of a read-only field, the only way to do it on the web (easily) is for FileMaker to make it static text. So the scroll bar won't work.

For scroll bars to show, the record must be opened (editing allowed) so the static text becomes a text box (which in a web browser allows editing). This can be a PITA...

Thanks for the feedback guys, but I'm still a little lost as to how I can actually fix my problem.

So do you know a way to make FM convert things to a static field so I can get the scroll bars without permitting editing of the text?

Sorry if I sound a little dense, but I'm unfortunately a little limited with respect to my knowlege with the web thing.

Thanks again,

Brad

Posted

Brad->

Quick & dirty, not efficient, but easier to explain. For each field you want to view but don't want to have edited by the user: create a second field that has an auto-enter calculation which contains only the first field. Then create a layout with these second fields on it. When you go to the layout, use the script step Open record, this will allow editing of the fields and the scroll bars will appear.

This topic is 7092 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.