All Apps and Add-ons

Splunkdj web framework

madakkas
Explorer

HI Splunk Gurus.

I am trying to create a form using the splunkdj framework and have used the below in forms.py

from splunkdj.setup import forms

class SetupForm(forms.Form):
    email1   = forms.EmailField(endpoint='configs/conf-mysetup', entity='customerinfo' , field='email',max_length=100)
    email2   = forms.EmailField(endpoint='configs/conf-mysetup', entity='customerinfo' , field='email',max_length=100)
    password = forms.CharField(endpoint='configs/conf-mysetup', entity='customerinfo'  , field='password',max_length=100,widget=forms.PasswordInput(render_value=True))

the same works good. But i want to change the same from Email fields and password fields to add more text fields , and check boxes. Not sure how i can do the same. All help in regards to the same is appreciated along with any references where i can look in for similar situations to tackle similar situations as well. like to understand what all values each of the arguments can carry etc,

thank You in Advance

0 Karma

p_gurav
Champion
0 Karma

madakkas
Explorer

ive tried it mate. It did not help . I am trying to king to access the variables passed and am not able to retreive them even using a normal request.POST.get('variable_name',None) method. Not sure what is going wrong

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...