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

修改字段

系統 2525 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元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 麻豆成人久久精品二区三区小说 | 久久夜色tv网站 | 色综合久久久久久久久久久 | 伊人久久免费 | 国产欧美在线观看 | 真实国产乱人伦在线视频播放 | 久久久久免费视频 | 免费一级毛片清高播放 | 国产一级特黄特色aa毛片 | 久久久免费网站 | 国产精品一区二区资源 | 97se亚洲综合在线天天 | 四虎免费在线观看 | 国产精品美女自在线观看免费 | 国产久爱青草视频在线观看 | 亚欧精品一区二区三区 | 亚洲欧洲日韩国产aa色大片 | 欧美午夜艳片欧美精品 | 毛茸茸的浓密在线视频 | 亚洲日韩精品欧美一区二区 | 国产视频a区 | 深夜免费福利 | 免费一级欧美片在线观看 | 777奇米影视视频在线播放 | 色婷婷在线播放 | 久久乱码精品区中文字幕 | 在线观看日韩欧美 | 欧美一区二区三区视频 | 国产一区二区三区国产精品 | 欧美影院一区二区三区 | 性欧美另类老妇高清 | 一本伊在人香蕉线观新在线 | 日韩城人网站 | 天天舔天天爽 | 欧美日韩综合高清一区二区 | 欧美日本高清视频在线观看 | 97国产在线视频 | 亚洲婷婷综合中文字幕第一页 | 97综合网 | 青青青青久久精品国产h | 夜色资源在线观看免费 |