Jump to content

haret

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by haret

  1. Thanks a lot for the example. I quess it's time to start learning more about those inlinaction tags.
  2. I'll borrow this thread a bit Garry, you said that related valuelists don't work? I've been strugling to create a pop-up menu on my website that would display values from my "Category1"-valuelist. I would like to use this valuelist to populate a <select> popup when I add records to a portal in FM. Now I just get empty <option></option> tags in my output. My problem is that I cannot populate the <select> tag. I would like to display a valuelist (category1) from my main database (the contents of that valuelist are actually from another database). Is this what you were talking about and is this impossible to do with CDML? Any tips how I could populate the valuelist if it's not possible directly with plain CDML. I've tried [fmp-option], [fmp-valuelist], etc but I just cannot get any values out of my valuelist. This same markup works on other pages with normal valuelists. Many thanks, Haret (and thanks for all the help you've previously given) Btw. forgive my typos, it's midnight here in scandinavia and my english tends to take a turn for the worst when I'm tired
  3. [FMP-OPTION] tag solved all my problems...
  4. I have a record_details HTML-page wich includes normal fields and pulldown menus. I would like these pulldown menus to display their value from filemaker. Now these menus are blank dispite the fact that the fields have previously given values. I just can't get these fields to display those values. Help? Example: <table> <tr> <td>Select<br> <select name='category' id="select4" value='[FMP-field:category]'> [FMP-Valuelist: category] <option [FMP-If:ValueListItem.eq.Field:category]selected[/FMP-if]> [FMP-valuelistitem]</option>[/FMP-Valuelist] </select></td> </tr> </table> Where did I go wrong and are there better ways to do this than with FMP-IF? With checkboxes you can use FMP-checked etc which adds the "checked" attribute to the option tag. Help greatly appreciated, btw search didn't help
  5. It would be easy to store the primary contact information to each individual "company"-records, but I have to keep each of the employees in a separate database due to many different reasons. So how can I create a rule so that only one related record at a time can have the "primary" checkbox checked? EDIT: Example I have a CompanyA in my company database with 5 related employees (emp1, emp2...emp5). Now I want to select one of those employees to be the primary contact. Each employee record has a field called "primary". I want filemaker to allow only one checked employee at a time. So if I check the checkbox for emp3 in my portal every other employee in CompanyA should have the checkbox clear. How can I do this?
  6. Hi. I'm looking for a simple solution to a problem described below: I have a company database with a portal to employees database (related via the company ID). I have a primary contact checkbox for each employee and would like to be able to only check one employee for each company. My problem is that I can't figure out how to make a rule for the checkbox so that only one employee could be the "primary contact" for each company. (checkbox has values 0 and 1 --> false, true) Now filemaker allows each employee to be checked so there could be 5 primary contacts. I want to avoid this. Thanks !
  7. Thanks a lot! Now I just need to find out how I can display the RecordID in FM used by the web companion. I have a recid field but I haven't figured out the calculation yet... I quess it's google.com time again... EDIT: Found it... "Status(Currentrecordid)" Thanks again for your time !
  8. HTML is for describing content, it's not a programming tool. Due to static nature of HTML you need to perform the calculation (value divided with 1.5) somewhere else. You could do this with javascript or just do the calculation in FM.
  9. Another question. Is it possible to modify valuelists via CDML? Haven't found a way to do this either...
  10. Hi I've used the search but couldn't find a way to do this. I have a "company" database and "employees" database. Now I have a page that has all the company info I need and below this a portal where all the related employees are listed (from the related "employee" database). I would like to open a new page with the employee info if I click the employee portal row. I haven't found a way to do this (to open the related record). Could someone tell me how this is done? Thanks in advance !
×
×
  • Create New...

Important Information

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