Discussions

Expand all | Collapse all

Edit a record, on save do something

  • 1.  Edit a record, on save do something

    Posted 01-07-2017 16:35
    Trying to replicate scooby doo technique (dans tech), but wit edit record.

    I can make things happen with add record not with edit.



    Seems that 

    if (/a=er/i.test(querystring)) {}



    Is not being detected.



    have tried to alert querystring variable in edit mode and nothing,



    Any hints


  • 2.  RE: Edit a record, on save do something

    Posted 03-14-2017 13:57
    Any hints on this?


  • 3.  RE: Edit a record, on save do something

    Posted 03-14-2017 14:19
    I suggest contacting Dan directly since you're trying to use his technique


  • 4.  RE: Edit a record, on save do something

    Posted 07-07-2017 17:16
    it is possible your code is breaking before it gets to that line but not before the add record line. You could edit out the a=nwr to a=er and if it works then your code is breaking somewhere before it hits your edit record line. Also make sure the IOL field is being loaded on the edit mode and not just add mode.