take-survey Widget Submit Button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2024 06:53 AM
#want to customize take survey widget submit button #n portal#
#I am using the Clone version of 1)surveys and Assessmet widget id=take_assessment
which ultimately call "take-survey" widget i am using the cloned version of it also for my customization
in my case i want to change the features of the submit button
on clicking of the submit button user should get a alert
and after submit it should redirect to a particular link ...I tried to identify the on click function for the submit button in the client script but it is not working....
maybe this is the function for the submit function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2024 08:05 PM
@Juhi Poddar i tried using the above but no luck,I also tried to remove the submit button adding a new button with diff name then also nothing...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2024 09:17 PM
@Juhi Poddar if i do inspect element i can see in html submit button is defined but n widget i could not fine that ,</button><button ng-disabled="isSavingOrSubmitting()" class="btn btn-primary ng-binding" style="float:right;width:48%" ng-click="validatePageAndSave('submit')" ng-show="currentPage == pages.length-1 && !formModel.readonly_form" aria-hidden="false">Submit</button></div></div></sp-assessment-nav-buttons>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2024 10:43 PM
Hello @abhi56
Yes, I saw that.