Jump to content

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

Recommended Posts

Posted

Hi everyone,

i have a database and all the fields are set to uppercase. in my html file i have this for every field:

[FMP-Field: name, raw]

i am tring to get the text from the records to be in titlecase like the database.

thanks peter

Posted

Try using Format instead of Raw. This was introduced in either FMP 5 or 5.5.

Failing that, you can try this:

<script>

var FMPField = [FMP-Field: FieldName]

FMPField = FMPField.toUpperCase()

document.write(FMPField)

</script>

  • 2 weeks later...
Posted

ok i tried the Format and it didn't work.

the script didn't as well. it shows in the source file that it is there but it's not writing on the screen.

not sure what is happening

Peter

This topic is 8187 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.