Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

<option value=""> returns correct number but empty


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

Recommended Posts

I have a search page displaying three pull down menus. 2 of the menus are populated correctly based on the following code.

The third displays the correct number of selections but with no text. If I view the source html, option value="" is repeated for the correct number of entries in the database yet remains empty. Any clues? Here is the code:

<SELECT NAME="CategorySelectorField" >

<OPTION VALUE=""> - Select a Category -

[FMP-InlineAction: -db=Categories.fp5, -lay=Layout, -findall]

[FMP-Record] <option value="[FMP-Field:CategoryID]">[FMP-Field:Category] </option> [/FMP-Record]

[/FMP-InlineAction]

</SELECT>

<BR> <BR>

Thanks.

Link to comment
Share on other sites

All,

Just for the record, I have now resolved this. Garry was correct in it being a layout issue. The fields were on the layout but the database had not been enabled for web publishing (all my other ones had so I was very confused!). You do this by going to File > Sharing. Don't tear your hair out over the code like I did!

Thanks,

Adam

Link to comment
Share on other sites

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