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.

conditional list in cdml ????

Featured Replies

help

i am trying to make a form in cdml where a user can edit a bid price they have made for a country report. the bids are set prices from a repeating field in a related file so that depending on which country it is they get different choices at which to bid at

eg brazil is priced 18k 15k 10k 5k

where tunisia is priced 12 6 4 3

this works fine in filemaker i get the conditional list, brill

but when i put this in to a cdml form:

<form name="form1" method="post" action="">

<p>The country that you are currently bidding for is: [fmp-field: report

country] : [fmp-field: Bid Placed]</p>

<p>

<input type="hidden" name="-db" value="Bids records">

<input type="hidden" name="-lay" value="main">

<input type="hidden" name="-format" value="//bidbingo/thanks.html">

<input type="hidden" name="-RecID" value="[FMP-CurrentRecID]">

<input type="hidden" name="password" value=[fmp-clientpassword]>

<input type="hidden" name="Report Country" value=[fmp-field: Report Country]>

</p>

<table width="648" border="0" height="68">

<tr>

<td colspan="2">Please enter your price.</td>

<td width="491">

<div align="center">Price</div>

</td>

</tr>

<tr>

<td width="87"> </td>

<td width="56"> </td>

<td width="491">

<div align="center">

------This is the bit that does not work -----

<select name="Bid Placed">

<option>[FMP-ValueList: Bid placed, list=bid placed]

<option>[FMP-ValueListItem][/FMP-ValueList]

</select>

</div>

</td>

</tr>

</table>

<br><input type="submit" name="-Edit" value="Continue">

can any one see what i am doing wrong or am i going to have to make a big list of the different combination in html. the form displays the country at the top fine and the price if they have entered one previously but it just gives me a blank dropdown crazy.gif" border="0

If you will review this forum you will find discussions about the use of valuelists. You will observe that the cdml valuelist is one approach which creates a lot of problems in achieving, though the code does work. Another approach is to use a plain text field and an html valuelist. It is the simpler approach imo.

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.