Zum Hauptinhalt gehen

Example of form/workflow to capture which radio button chosen?

Kommentare

11 Kommentare

  • Permanently deleted user

    Hi Carmen,

    You'll need to assign the output arguments to Boolean variables, and then use if/then activities to determine which was selected. See example (https://support.geocortex.com/Data/Sites/1/radiobuttons.zip) here . 

    -Victoria

    0
  • Carmen Durham

    Victoria,

    Thank you very much.  I was doing something wrong between the arguments and variables (and trying to make it more complicated than it was).  Your example made it perfectly clear and my workflow works great.

    Carmen

    0
  • Permanently deleted user
    Please update the link:

     

    https://support.geocortex.com/Data/Sites/1/radiobuttons.zip

     

    Thanks for your help
    0
  • Permanently deleted user
    You can now download the zip from here: http://data.latitudegeo.com/support/GSC/radiobuttons.zip
    0
  • Permanently deleted user
    Thanks Victoria!

     

    Nicu
    0
  • Marc Rempel
    Is there a way to do this without nested If controls?  Is there a way to place a value on a radio button or grab which radio button was selected from a group?  A single output based on a group would be quite useful, as long as you can set the value for individual members of the group.
    0
  • Permanently deleted user
    Did you ever figure that out, Marc?
    0
  • Permanently deleted user
    What I'd like to do is set a string variable based on which radio button is selected and then use the variable in a where clause in a subsequent Query Task. Possible?
    0
  • Tom Neer
    Rebecca. I posted an example of what you are after on Github (https://github.com/DigitalDataServices/samples/blob/master/RadioButtonChosenWorkflow.xaml)
    0
  • Permanently deleted user
    Hi Tom,  I am trying to utilize your sample workflow to allow a user to select a radio button, and filter the map based off of their selection. In your 'WhichRadioButtonChosen' Sequence, I've added a Set Layer Definition Activity to with... "DESCRIPTION = 'TOBACCO RETAILER - LOW RISK'" as the definition (There are three other If statments with Moderate and High risk as well) Should the SetLayerDefinition Activity filter the points in the map to only display the points with a Desciption of Low Risk?

     

    _img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000TU6d&feoid=Body&refid=0EM60000000LzUc"_/_img_
    0
  • Tom Neer
    Lisa. Right after the Display Form, I would put a sequence in that you set the userChoice variable based on the rbX (e.g. 'TOBACCO RETAILER - LOW RISK', 'TOBACCO RETAILER - MODERATE RISK', 'TOBACCO RETAILER - HIGH RISK'). Then follow up with your SetLayerDefinition and RefreshMap. In the SetLayerDefinition, change the Defintion to "DESCRIPTION = " + userChoice.
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.