亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

修改字段

系統 2176 0

The? registration form ?allows some customization of its fields. While the core fields (email, password, user name and full name) are always mandatory, you can chose whether the other fields should be mandatory, optional, or even not displayed at all. Some additional fields, like city or country, are not displayed in the default form and are available if you want to request them from your users during registration.

This is configurable through the use of the? REGISTRATION_EXTRA_FIELDS ?setting, which is a dictionary providing, for each of the fields, one of the following values:

  • required : to display the field, and make it mandatory
  • optional : to display the field, and make it non-mandatory
  • hidden : to not display the field

The default value of the setting is the following, set in? edx-platform/lms/envs/common.py :

      REGISTRATION_EXTRA_FIELDS 
      
        = {

    
        
          
            'level_of_education
            
              ': 
              
                
                  'optional
                  
                    ', 
                    
                      
                        'gender
                        
                          ': 
                          
                            
                              'optional
                              
                                ', 
                                
                                  
                                    'year_of_birth
                                    
                                      ': 
                                      
                                        
                                          'optional
                                          
                                            ', 
                                            
                                              
                                                'mailing_address
                                                
                                                  ': 
                                                  
                                                    
                                                      'optional
                                                      
                                                        ', 
                                                        
                                                          
                                                            'goals
                                                            
                                                              ': 
                                                              
                                                                
                                                                  'optional
                                                                  
                                                                    ', 
                                                                    
                                                                      
                                                                        'honor_code
                                                                        
                                                                          ': 
                                                                          
                                                                            
                                                                              'required
                                                                              
                                                                                ', 
                                                                                
                                                                                  
                                                                                    'city
                                                                                    
                                                                                      ': 
                                                                                      
                                                                                        
                                                                                          'hidden
                                                                                          
                                                                                            ' 
                                                                                            
                                                                                              
                                                                                                'country
                                                                                                
                                                                                                  ': 
                                                                                                  
                                                                                                    
                                                                                                      'hidden
                                                                                                      
                                                                                                        ', }
                                                                                                      
                                                                                                    
                                                                                                  
                                                                                                
                                                                                              
                                                                                            
                                                                                          
                                                                                        
                                                                                      
                                                                                    
                                                                                  
                                                                                
                                                                              
                                                                            
                                                                          
                                                                        
                                                                      
                                                                    
                                                                  
                                                                
                                                              
                                                            
                                                          
                                                        
                                                      
                                                    
                                                  
                                                
                                              
                                            
                                          
                                        
                                      
                                    
                                  
                                
                              
                            
                          
                        
                      
                    
                  
                
              
            
          
        
      
    

修改字段


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 亚洲国产精品久久久久久网站 | 国产精品无码久久av | 久久成人网18网站 | 久热中文字幕在线 | www.xxx欧美 | 夜间福利视频 | 9久9久热精品视频在线观看 | xxx中国网站xxx | 国产精品婷婷久青青原 | 97影院九七影院理论片 | 一级特黄国产高清毛片97看片 | 日韩免费小视频 | 亚洲在线网站 | 青青青国产在线视频 | 中文字幕天天躁夜夜狠狠综合 | 亚洲国产成人久久精品图片 | jizz中国jizz女人 | 香蕉超级碰碰碰97视频蜜芽 | 国产欧美一区二区精品久久久 | 国产成人免费在线 | 日韩成人精品在线 | 色综合一本到久久亚洲91 | 精品一区二区在线欧美日韩 | 久久咪咪 | 五月婷婷伊人 | 日韩精品中文字幕一区二区三区 | aaa一级黑人毛片 | 亚洲精品中文字幕乱码一区二区 | 日韩高清一区二区三区不卡 | 一级一片免费播放 | 99精品国产综合久久久久 | 国产在线精品香蕉综合网一区 | 四虎影永久在线观看精品 | 永久免费精品影视网站 | www激情五月| 久色网站 | 欧美xx毛片免费看 | 午夜伦4480yy妇女久久久 | 亚洲国产精品综合久久网络 | 天天干天天摸 | 久久综合九色综合网站 |