Code
return RedirectToAction("Index");Hello, i have the follow problem:
View1 with different input fields so for example
Code
in addition, it also has address fields wich can be entered or queried in an database via button=>open an other View2 queried an via adressid i fetch the adress->go back to View1
Code
return RedirectToAction("Index");The problem how i can i save the input text in the fields wich i have insert befor
Thaks for your help

Vishal JoshiRank #377 · 6.7K reputationPosted Aug 7, 2022, 4:18 PM EDT
Joshua29 reputationPosted Aug 12, 2022, 11:04 AM EDT
Thank you for your help
i understand how TempData work, but i think that not solve my problem:
i have a form with open by the methode create.
different fields for example
input fields1
input field2
input name ->button for fetch adress for input field 3 - 5 now how can i take field1 and field2 in a TempData (post)
input lastname
input streat
input etc..
transfer data input lastname, streat etc. from my Adressdb
input field6
etc.
Save Data
how can i post the fields so i cant take the fields in a TempData?
Sachin SinghRank #66 · 26.2K reputationPosted Aug 14, 2022, 4:35 AM EDT