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 8429 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm working on a real time-sign in program using FM 5.5 Pro. It's going along really well except I can't get the web pages to reflect the checked box in a database in an HTML checkbox to try to edit it checked or unchecked.

This is what I've tried:

1) <input type="checkbox" name="FieldName" value="1"

[fmp-if:FieldName.eq.1]checked[/fmp-if]>

<input type="hidden" name="FieldName">

No luck. Then I thought because it was a custom value list to try:

2) Requested: [FMP-ValueList: Requested, list=Requested]

<input type="checkbox" name="Requested" value="[FMP-ValueListItem]" [FMP-ValueList Checked]>[FMP-ValueListItem]<BR>

[/FMP-ValueList]

This shows both values correctly in the valuelist (next to checkboxes) but doesn't show what box is supposed to be checked...I'm stumped. Anyone have any suggestions??

Posted

quote:

Originally posted by Edward Diaz:

[FMP-ValueList Checked]

If this is exactly what you are using, you may just have an extra space in your CDML code. Try "[FMP-ValueListChecked]" - its all one word, not two.

HTH

cool.gif" border="0

Posted

quote:

Originally posted by MeltDown:

If this is exactly what you are using, you may just have an extra space in your CDML code. Try "[FMP-ValueListChecked]" - its all one word, not two.

HTH

cool.gif" border="0

Thank you very much for your advice. I finally solved it by the following code (for anyone else having the same problem):

<select name="Requested">

[FMP-option: Requested, list=Requested]

</select>

What's weird is that I never actually got the checkbox to be checked. I went around the problem by declaring the item to be changed as a pop-up menu, and when I hit the edit button for the specific record it works.

**Please note that the value list and the field are BOTH named "requested"**

Posted

quote:

Originally posted by MeltDown:

If this is exactly what you are using, you may just have an extra space in your CDML code. Try "[FMP-ValueListChecked]" - its all one word, not two.

HTH

cool.gif" border="0

I forgot to say that what you were suggesting does indeed work as well...even with the checkboxes! Thanks again!

Posted

FWIW, the cdml checkbox works.

So too does the html checkbox (enhanced with cdml tags).

If you set the field(s) in your web layout as Standard, the appropriate data will get entered through html checkbox structure with requisite cdml tags for the field(s).

If someone within the organization needs to view that data directly from the db, it can be done in an employee layout in which the fields are designated (displayed) as checkbox.

IMO, the html works better and is easier to control (be it checkboxes or pop-ups). The idea, after all, is to enter data into the proper field in the db via the web. The electrons do not care which structure you use.

SIMPLIFY ...

Keith

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