Rules won't jump on change

Forums Dynamic Forms for SharePoint Rules won't jump on change

This topic contains 7 replies, has 2 voices, and was last updated by  Alexander Bautz 2 months, 3 weeks ago.

  • Author
    Posts
  • #17752

    Deric
    Participant

    I’ve poked and prodded at this for hours on end, now, and I cannot get it to work. For some reason, my rules will work to a certain point, but will not jump if true. This is not true for the initial rule, however, which will jump on load, but not on change.

    If I can get this working again, I can pitch the expense to my boss, I’m just saying… πŸ˜‰

    • This topic was modified 3 months ago by  Deric.
  • #17765

    Alexander Bautz
    Keymaster

    Hi,
    Which field types are you having trouble with? – I have fixed a few people picker field trigger quirks in the latest version and will hopefully get this posted before the weekend.

    Alexander

  • #17769

    Deric
    Participant

    It seems to be my choice fields (although I don’t have any rules set on other fields). The rule will function as designed, but then when it comes to jumping to another rule, it simply won’t. (again, this is only on change, load works fine.)

  • #17771

    Alexander Bautz
    Keymaster

    Ah – I think I misunderstood – if it’s the “Stop and skip rules with higher index (on page load)” this is as stated in the name only on form load and will not work for “change”.

    Please let me know what you are trying to achieve.

    Alexander

  • #17775

    Deric
    Participant

    The initial load of the form has the user select from a drop down (debug shows that the rule for “Select” in the dropdown is functional, skipping to the end of the rules). Once the user selects their option, the rules dictated by that selection run, but stop, instead of jumping as they’re supposed to.

    Does that make sense?

  • #17777

    Alexander Bautz
    Keymaster

    Unfortunately the “jump to” will only work on load – I see in the output / debug that it lists “jump to”, but as the heading in the “stop and jump to” this setting is only used on load. This makes sense on load because all rules will be evaluated on load.

    When you trigger a “change” – only the rule that is actually triggered will be evaluated, but you can call another rule from the rule in “Run these functions / trigger these rules” if you like.

    Hope this clarifies it.

    Alexander

  • #17796

    Deric
    Participant

    I’ve searched the forum exhaustively and I can’t seem to find the syntax to call another rule in the “Run these functions/trigger these rules” field. I’d like it to run the rule rather than trigger it.

    Thanks

  • #17978

    Alexander Bautz
    Keymaster

    Sorry, I missed you reply. You can call the rule by its “Rule friendly name” – just put it in the textarea.

    Please note that the rule will be triggered as “true” and the conditions for triggering this rule will not be evaluated.

    Alexander

You must be logged in to reply to this topic.