Forum Discussion

ChadBrandmire's avatar
ChadBrandmire
Qrew Assistant Captain
7 years ago

save a record and then view it with a different form button

I'm trying to create a save button that after clicked will show the record using a different form
  • Can you tell me where you are launching thew Add record from?  Are you launching off a Parent record?
  • ChadBrandmire's avatar
    ChadBrandmire
    Qrew Assistant Captain
    I've made a popup that launches from a button on a different table
    "JavaScript:window.open('https://aaaaa.quickbase.com/db/bnisbfyc8?a=er&dfid=11&ifv=0','_blank','top=300,left=500,widt...;


    I'd like the save button to direct to form 12 on the save
  • MCFNeil's avatar
    MCFNeil
    Qrew Captain
    I looks like you might be stuck in the middle of a few options.

    You can't tell the new record the 'nexturl' because you don't have a [Record ID#] yet.

    There is an option to have the 'default' view option be form id 12, but that might interfere with other workflows.

    I think it might just have to be an extra 'click' to get them to the right form.  You can do it with a formula button that specifies the dfid.
  • ChadBrandmire's avatar
    ChadBrandmire
    Qrew Assistant Captain
    I think it would be possible if there was a way to have a 'save and keep working button' without calling the header or footer button
  • Are you trying to enter a new record on a mini form and then edit the record on a full form?  Something like that?  You can have a different form for Add vs Edit/View and also you can have 1 form which detects if the record ID# does not yet exists and hide sections .. if those ideas help.
  • ChadBrandmire's avatar
    ChadBrandmire
    Qrew Assistant Captain
    I've been toying around with those ideas. 
    Ultimately what I'm looking for is a series within the popup to enter and then verify a few fields. The part I'm lacking is after you save on the initial popup it goes straight to view the form (which is fine) but I want the iframe tag(ifv=0) applied to that view.

    I guess I started by this by asking the wrong question