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.

Featured Replies

Hi again ya'll,

I have a form for persons to sign up as members. One of the fields is Gender, which on the form is represented as radio buttons (i.e. Male, Female). The person signing up just selects which gender they are, fill out the rest of the form and submit it (which creates a new record in the filemaker database.

Now here's the problem. I have a link whereby a member can edit their record. When they click on the link it brings up the edit form which displays their information so they can edit it. I want to show the gender radio buttons again, but I want it to already have their gender selected. How do I get it to show which one is selected? Hope this makes sense. Thanks in advance.

[FMP-ValueList: gender]

<input type="radio" name="gender" value="[FMP-ValueListItem]" [FMP-ValueListChecked]>

[FMP-ValueListItem]

[/FMP-ValueList]

  • Author

quote:

Originally posted by dspires:

[FMP-ValueList: gender]

<input type="radio" name="gender" value="[FMP-ValueListItem]" [FMP-ValueListChecked]>

[FMP-ValueListItem]

[/FMP-ValueList]

dspires:

Thanks a lot. You've been a great help.

  • 2 weeks later...

I try to avoid using value lists on my web databases to keep them as slim and simple as possible.

I use if statements to display either checked or unchecked radio buttons depending on the value in the field (with the default as none checked).

This means much more HTML (especially when there are a few options!) so is probably not for most people......but it's the way I prefer to do it....

laugh.gif" border="0laugh.gif" border="0

RE: This means much more HTML (especially when there are a few options!)

Just in code and a bit of processing time. But it is not send to browser smile.gif" border="0

  • Author

quote:

Originally posted by Anatoli:

RE: This means much more HTML (especially when there are a few options!)

Just in code and a bit of processing time. But it is not send to browser
smile.gif" border="0

There's also another problem with using the FM generated value lists. You have to have an FM backed "lead-in" page to prepare it to generate the value lists (if you all understand my meaning). In other words there has to be a page that refers to fm (a form page) previous to the page with the value list.

That is why I mostly try to avoid using fm generated value list in HTML, but if I am editing a record (which I am in this case) I don't really have much choice I think.

I have a menu in a frame, and the links in the menu take you to the different pages (New Record, Edit Record, Find Record and so on). The trick is this menu page is not an FM powered page. It just contains the links which load in another frame. Therefore, even though I put in the code for the radio buttons, when I click on the edit member record link, it does not display the radio buttons...sigh.

Complications, complications.

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.