Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. Go into edit the form that will send the data and trigger the entry update.
  2. Click on 'Settings' → 'Actions & Notifications' → 'Send API Data'. This will add an API action to your form.
  3. Insert the following in the Notification URL box:
  4.  
  5. yoursite.com/wp-json/frm/v2/entries/25
  6.  
  7. Replace yoursite.com with the site that holds the entry you would like to update. Replace 25 with the ID of the entry to update. You can
  8.  
  9. yoursite.com/wp-json/frm/v2/entries/[display-frm-data id=x u_id="[y show=ID]"]
  10.  
  11. Replace x with the ID of the View and replace y with the ID of the userID field in your current form. This would update the first entry
  12.  
  13. Make sure to use the receiving field key in the "Key" column. Use the sending field key or ID in the "Values" column.
  14. Select 'PATCH' as the Method. This will ensure that only the posted fields are updated.
  15. That's it! Now try submitting an entry in the sending form and see if it updates the entry in the receiving form.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement