Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help! Can I pass ValueListItem into InlineAction?

Featured Replies

  • Newbies

I'm trying to pass the current value of ValueListItem into an InlineAction tag, but I can't make it work. Here's my CDML:

----------

[FMP-ValueList: subscriptions, List=list_of_mailing_lists]

<input type="checkbox" name="subscriptions" value="[FMP-ValueListItem]" [FMP-ValueListChecked]>

[FMP-InlineAction: -db=mailing_lists.fp5, -lay=plain, List_Name={ValueListItem}, -max=1, -find]

[FMP-Record]

[FMP-Field: Topic]

[FMP-Field: Description]

[FMP-Field: Creation_Date]

[/FMP-Record]

[/FMP-InlineAction]

[/FMP-ValueList]

----------

Is this impossible, or am I just doing it wrong?

Thanks!

Phil

So's ya won't think you're neglected. Boy, howdy. As I have said before I do not use fmp-valuelist. Oh sure, some people use them ok. But why are there so many questions about them if they're so ding-dong good.

Phil presents a valuelist through cdml to use checkboxes (input type="checkbox").

(My concern is how can I best communicate with the db from the www. If I were doing this I would set my db field as "standard" on my web format. Next I would use regular html to create an html valuelist. Then I would use cdml tags to point to the field which I have set as "standard". I would also debate using a single field because with checkboxes there can be more than one correct answer. And all we need to do is communicate with the db so that appropriate data is accessed and displayed.)

So if there are 15 checkboxes there could be up to 15 answers - all in one field. But there could be as few as : (I don't know how Phil set this up. Let's assume one and not zero.) So now we are going to search one field for - oh let's say 5 checkbox items (we don't know how many Phil has). Will we also get found records which contain eight or eleven or fourteen checked boxes as long as they include those five? Sure we will if we don't know what we are doing.

Maybe it's not the fmp-valuelist which is the problem here. Maybe that is just my bias. But then, I don't use the -lop and -op tags either. Oh wait, neither did Phil. 'course that may be to Phil's advantage. I know that understanding the symbols of the db find are most useful since all finds seem to be done on the db. Understanding that has helped me a lot. That is why I so often recommend: USE THIS RESOURCE OFTEN.

http://www.filemaker.com/support/index.html

Search and read: Article Number: 104829, and Article Number: 105687

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.