New Contributor

Custom field in Sponsor Confirmation form

I have a requirement to add a field to the sponsor confirmation form.  Not in the email sent to sponsors but in the webpage where they select confirm or reject, as well as optionally selecting an expiration (if Account Overrides are enabled).


The requirement is to have a "Sponsor Approval Reason" field in that form, where the sponsor adds justification on the account confirmation page.  I created a custom textarea field called "sponsor_approval_reason". If I add this field to the receipt form, it also shows up on the sponsor confirmation form automatically.  Text entered in that field on the sponsor confirmation form however does not appear to be processed by the form submit function on the backend, because text entered in that field does not get written to the database or show up when viewing the account attributes.   Make note I also added that field in the registration form as a hidden field.  If I set an initial value for that field, of make the field editable on the registration page, text entered there does get saved to the account, but text entered on the confirmation page does not.


I understand the entire form can be overridden for the sponsor confirmation page, but I don't believe this would solve the issue at hand, I believe the content of that field is being sent when the form is posted, but the back end function is not writing it to the database.


If there any way to accomplish this?  Is this an enhancement request?  This is on ClearPass 6.7.7

New Contributor

Re: Custom field in Sponsor Confirmation form

Did you ever find a solution to this?


I am looking to customize the same page.


Thank you.

Occasional Contributor I

Re: Custom field in Sponsor Confirmation form



Let me put this in lab and respond with my findings in couple of days.




Frequent Contributor II

Re: Custom field in Sponsor Confirmation form

My requirement is remove the reject button from the guest_register_confirm I think the above requirement listed on this thread was to edit that form itself. Was the requirement on this thread ever tested as I believe it will help me to?



Frequent Contributor II

Re: Custom field in Sponsor Confirmation form

don't worry about this I managed to hider the reject button on the form. This is what I found that the guest_register_confirm.php form is not directly editable. So on the guest self registeration page > editted the page > clicked on sponsor confirmation > went to UI override > checked marked the tick box > and inputted this code into the footer:

<script type="text/javascript">
document.getElementById("ID_form19eb693a_guest_register_confirm_register_reject").style.display = "none";


I tested and no longer saw the reject button. Also, I tested with another SSID that has the same flow as my original one and found it was not removed from there so this pieace of code is per self-registeration page. 

New Contributor

Re: Custom field in Sponsor Confirmation form

I was just on that page. That is exctly what I was looking for! Thank you!


For the life of me I cannot find the "accept as solution" button. 


Where do I find that?

Frequent Contributor I

Re: Custom field in Sponsor Confirmation form

That did not work for me. On my page, the ID was different so if in doubt, inspect the element and change the ID.


For me it was the following:


<script type="text/javascript">
document.getElementById("ID_forma15d7c4b_guest_register_confirm_register_reject").style.display = "none";


Thanks for the solution though! Good stuff.

Search Airheads
Showing results for 
Search instead for 
Did you mean: