Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

  • Newbies
Posted

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

Posted

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

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