Is it possible to set some sort of session variable for an Everyone On the Internet user so that they can only view forms that I have created in different languages?

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered

For Example, I want to redirect French users to a french form and German users to a german form...  but they are not yet QuickBase Users.

Photo of Insight

Insight

  • 0 Points

Posted 3 years ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,320 Points 50k badge 2x thumb
I think you would need to set up up where the user selects a language and is then presented with the correct form.  Then, after they save you need to redirect them to a correct form.

If you describe the desired workflow I may be able to suggest some syntax which will control where they land after they save.
Photo of Insight

Insight

  • 0 Points
The workflow is, Arrive on dashboard...  select Flag for Language... choose a report to search on... arrive at a form.   The report is in the correct language, but the form is generic.   

If they were QB Users then I could switch on and off the correct fields in the form using form rules but without having any control over who they are I cant control the form.  Or dont know how to.
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,320 Points 50k badge 2x thumb
Forms Usage can associate a form with a report.  So the user could choose a flag (Language) and be directed to a dashboard of choices for reports of that language.  Then viewing a record off that say French Report would use the French form.
Photo of Insight

Insight

  • 0 Points
Let me look at that.   Ill try that out thanks!
Photo of Insight

Insight

  • 0 Points
ah, yes.   I know why I couldn't use that.    The report goes to a form of another table which then links to the other form...   so its going from form to form.     

i.e. the report is associated with a parent table and the form is on a child table.

It seems like you can only associate the form with a report of the same table.
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,320 Points 50k badge 2x thumb
Yu will need to be clearer about explaining your situation.  The user clicks on a French report.  Then they view a record on a French Form because the French form is set in forms usage to be used with that report.  Then what happens next to create a problem.
Photo of Insight

Insight

  • 0 Points
The first form has one link on it which goes to the form of the child table.
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,320 Points 50k badge 2x thumb
Then you can control the form which is used when viewing a record off that child table.  Even embedded tables on a  form have names (unless you are just letting them default to the record picker report), so you can set forms usage for that report too.
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,044 Points 20k badge 2x thumb
Photo of Insight

Insight

  • 0 Points
Dan, that page is asking me to sign in?
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,044 Points 20k badge 2x thumb
It should be open now.
Photo of Insight

Insight

  • 0 Points
HI Dan

That looks like it could do the job.  In the Pastie, where does the code go.    I have the IOL technique working with the basic alert, but not sure how to put it together with the code from the pastie.
Photo of Insight

Insight

  • 0 Points
How can I make these buttons on a Home Page?
Photo of Insight

Insight

  • 0 Points
OK, update.
I have it working with the Reports as I changed the initial report to be from the same table as the form. Then in the Override Role Setting by Report, against the report I could put the form which was in another language.

I also learned a lot from trying out Dans IOL Technique and although it wasn't necessary for this solution, I'm sure it's taught me that I need to learn a bit of javascript :)

Thanks Guys.
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,320 Points 50k badge 2x thumb
Thx for the update.  Score 1 for native solutions on this one.

This conversation is no longer open for comments or replies.