Edit a record, on save do something

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • In Progress
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
Photo of eduardo

eduardo

  • 40 Points

Posted 3 years ago

  • 0
  • 1
Photo of eduardo valdes

eduardo valdes

  • 162 Points 100 badge 2x thumb
Any hints on this?
Photo of QuickBasePros (Laura Thacker)

QuickBasePros (Laura Thacker), Champion

  • 5,416 Points 5k badge 2x thumb
I suggest contacting Dan directly since you're trying to use his technique
Photo of Chuck Grigsby

Chuck Grigsby

  • 2,100 Points 2k badge 2x thumb
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.