This topic contains 4 replies, has 0 voices, and was last updated by dancowell 7 years ago.

  • Author
    Posts
  • #17835

    dancowell

    I don’t know if this is possible, but long story short I need to add a scripted field which replaces a custom field when the record is in edit mode. The custom field has been assigned to a specific field group on the form, so I’d like to put the scripted field in the same field group.

    I know you can supply a “container” internal ID when creating the scripted field, but it seems it only works with field groups created using the form.addFieldGroup API. If this isn’t possible, would it be possible to move custom fields (created in SuiteBuilder) to a scripted field group?
    This is a cached copy. Click here to see the original post.

  • #17836

    mwhite@hgyp.com

    Does it have to be scripted? We’ve accomplished this by showing/hiding fields with a workflow.

  • #17837

    dancowell

    Unfortunately it does. I need to pull an address through from a related entity on a custom record, so we’re storing the entity ID in one field, the address ID in another custom field and then populating the address from the entity in a beforeLoad script.

  • #17838

    mwhite@hgyp.com

    We accomplished this by putting a field on the form that the script populates and unhides with a BRL script. That was the only way we could get it exactly where we wanted it.

  • #17839

    dancowell

    See, now I’m wondering why I didn’t think of that. What a simple, elegant solution.

    Thanks!

You must be logged in to reply to this topic.