WordCamp Europe 2023 Special Offer - Get 30% OFF any edition with coupon: WC30

My Account

Forums

Home Forums General Role-based redirection after Login Reply To: Role-based redirection after Login

#49304
Mark Westguard
Keymaster

Yes that code looks correct. You do not need to reference a particular login form, each field ID in WS Form is unique and associated to a single form. You just need to change the field ID in the code sample we provide in the knowledge base article.