Maryam Ilka commited on
Commit
ef9917f
·
verified ·
1 Parent(s): d579640

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -250,7 +250,9 @@ def user_contact():
250
  placeholder="مثال: @username یا 09123456789 یا example@email.com",
251
  key="user_contact_input"
252
  )
253
- if st.button("ادامه", key="continue_btn", type="primary"):
 
 
254
  st.session_state.current_page = "demographic_form"
255
  st.rerun()
256
 
 
250
  placeholder="مثال: @username یا 09123456789 یا example@email.com",
251
  key="user_contact_input"
252
  )
253
+
254
+ if st.button("ادامه"):
255
+ st.session_state.user_contact = contact_info # ذخیره اطلاعات
256
  st.session_state.current_page = "demographic_form"
257
  st.rerun()
258