Jump to content

Question about repeating a DP submission form in the middle of a DP multi-page sequence


Recommended Posts

First off, I am new here and appreciate any assistance. I have built an eight (8) step vendor registration situation that uses 8 DP and 8 different webpages. The data from each form goes into separate tables related to the information being collected (ie. core info, equipment, certifications, licenses, insurance, etc). I have no problems passing the User_ID to each page. That works perfect. However, some of the forms (such as Certifications and Licenses) could have multiple entries as a vendor can have multiples of each.  One vendor could have 0, 1, 2 or 15 of each of these so one long DP is not the best option as it creates unnecessary fields and the ability to search on certain criteria individually is important for part of the implementation. I created a button to "Add Another" that reloads the page, but the record does not save when it is clicked. I was wondering if there is JS code that could submit the record and reload the form when pressed assuming the vendor needs to enter multiple certifications or licenses and maintain/reissue the external parameter for User_ID. I am a JS newbie beyond a doubt. Based on some research it seems possible but any assistance is greatly appreciated. 

I am including a screenshot of what I have done. 

Button.jpg

Link to comment
Share on other sites

  • 3 weeks later...

Hello @KevinCeres

You can achieve this using standard features.

You can add the Virtual field to your form with 2 option: stay at form after submission or go next.
The values of these radio buttons should be links. 
Based on the choice, your user will be redirected to the same page (reload) or to a new one.

Check the print screens:

hyTG7uz.png

 

zPbaz4j.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...