ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Custom fields in SAEF

July 23, 2010 12:46pm

Subscribe [3]
  • #1 / Jul 23, 2010 12:46pm

    Hi guys,

    I’m using the SAEF and am wondering if there’s any way to tell it to ignore a specific custom field when listing them?

    As in:

    {custom_fields field_id="not 132"}
    {if required}<span class="redtext">* </span>{/if}{field_label}
    
    {field_instructions}

    This doesn’t work, but you can kinda see what I’m after. I want the SAEF to list all the custom fields except field_id_132.

    Any thoughts?

  • #2 / Jul 23, 2010 2:56pm

    Anyone? I could really use a solution, if there is one.

  • #3 / Jul 23, 2010 3:39pm

    Sue Crocker

    26054 posts

    The best way to handle it is to create the form, view the source, and remove anything you don’t want.

    Does that help?

  • #4 / Jul 23, 2010 3:44pm

    Hi Sue.

    That was my backup plan.

    I was hoping to find a more elegant solution, seeing as I have a lot of forms like this.

  • #5 / Jul 23, 2010 5:47pm

    Sue Crocker

    26054 posts

    You might look around at Solspace’s offerings.

  • #6 / Jul 23, 2010 5:51pm

    Lisa Wess

    20502 posts

    Or see the show_fields parameter =)

  • #7 / Jul 27, 2010 7:32pm

    Hi Lisa,

    I tried the show_fields options with no luck. The trick is, I still want the custom field to show up as part of the SAEF, just not where it does in the custom_fields section.

    Ah, going down the “create the form, view the source, and remove anything you don’t want” route was time-consuming, but fairly painless. Once you get one form adjusted, the others become simply repetition.

    So, I’m happy. 😊

    Thanks everyone.

  • #8 / Jul 28, 2010 2:11am

    John Henry Donovan

    12339 posts

    Glad that was a workable solution for you. Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases