Jump to content

conditional list in cdml ????


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

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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