Raised This Month: $51 Target: $400
 12% 

How to change the attributes in the beforeQuestionSave event?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
sunil15
New Member
Join Date: Feb 2021
Old 02-17-2021 , 11:15   How to change the attributes in the beforeQuestionSave event?
Reply With Quote #1

I wrote a plugin where I added a drop down menu based on the value selected, I would like to change the values of other attributes not present in the Question object only in QuestionAttribute.

But I don't want to call befoeQuestionAttriibuteSave because if the value of the given attribute is empty then the event for that attribute doesn't exist.

I would like to change $ _POST values somehow (or otherwise change it?) Or raise a write event for the changed attribute. Unfortunately, I don't know how to do this.

192.168.0.1
192.168.o.1
192.168.1.128

Last edited by sunil15; 03-13-2021 at 00:05.
sunil15 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode